wuwangdong %!s(int64=4) %!d(string=hai) anos
pai
achega
8782c90d7a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      assets/script/game/game/Game.ts

+ 1 - 1
assets/script/game/game/Game.ts

@@ -1076,7 +1076,7 @@ export default class Game extends cc.Component {
                     }
                     await this.updataOrderProgress(this.orderPicIdArray[i].ID);
                     //await mk.time.WaitForSeconds(1);
-                    for (let index = 0; index != 5; ++index) {
+                    for (let index = 0; index != 4; ++index) {
                         let crop = await mk.pool.getPrefab('game/prefab/crop');
                         let sf = await mk.loader.load(plantPath + plantId, cc.SpriteFrame);
                         crop.getComponent(cc.Sprite).spriteFrame = sf;