drgame-cc 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -275,7 +275,7 @@ export class PlatformAdapter {
275
275
  var key = `${this._zhName}-isFirst`;
276
276
  var isFirst = cc.sys.localStorage.getItem(key);
277
277
  if (!isFirst) {
278
- cc.sys.localStorage.setItem(key, false);
278
+ cc.sys.localStorage.setItem(key, true);
279
279
  let helperPfb = await Loader.loadRes('drres/prefab/HelperWin', cc.Prefab);
280
280
  let helperWin = cc.instantiate(helperPfb);
281
281
  helperWin.parent = cc.director.getScene();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drgame-cc",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "道然游戏适配包",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",