瀏覽代碼

修复解锁后一键生产没有定位当前目标

kaka 4 年之前
父節點
當前提交
899d4a1f4c

+ 12 - 0
assets/resources/animation/Main.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "4e4c7e27-6fce-4142-bde1-d4e0cea5b72e",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

+ 0 - 1
assets/script/before/view/ui/HarvestPanel.ts

@@ -3,7 +3,6 @@
  */
 
 import { AdFun } from "../../../game/data/AdData";
-import { ExpAddType } from "../../../game/data/GameData";
 
 const { ccclass, property } = cc._decorator;
 

+ 2 - 2
assets/script/game/data/GameData.ts

@@ -437,14 +437,14 @@ export class GameData {
                 gData.pastureSystem.btnMake();
                 gData.gameData.nextMake = null;
                 this.nextMake = null;
-                this.setNextProduct();
+                this.setNextProduct(false);
                 gData.adData.checkPopRed();
                 break;
             case 3:
                 gData.factorySystem.btnMake();
                 gData.gameData.nextMake = null;
                 this.nextMake = null;
-                this.setNextProduct();
+                this.setNextProduct(false);
                 break;
         }
     }