diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index 5a6b077d..58808618 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -199,12 +199,12 @@ export class MissionComp extends CCComp { this.mission_start(); }, 0); smc.map.MapView.scene.mapLayer.stopAnimations(); - smc.map.MapView.scene.mapLayer.node.getChildByName("fight").getChildByName("fbox").active = true; + // smc.map.MapView.scene.mapLayer.node.getChildByName("fight").getChildByName("fbox").active = true; } onDestroy() { smc.map.MapView.scene.mapLayer.playAnimations() - smc.map.MapView.scene.mapLayer.node.getChildByName("fight").getChildByName("fbox").active = false; + // smc.map.MapView.scene.mapLayer.node.getChildByName("fight").getChildByName("fbox").active = false; super.onDestroy(); if (this.start_btn && this.start_btn.isValid) { this.start_btn.off(NodeEventType.TOUCH_END, this.onStartFightBtnClick, this);