diff --git a/assets/script/game/map/MissionCardComp.ts b/assets/script/game/map/MissionCardComp.ts index 86771d93..d6e7c881 100644 --- a/assets/script/game/map/MissionCardComp.ts +++ b/assets/script/game/map/MissionCardComp.ts @@ -65,7 +65,7 @@ export class MissionCardComp extends CCComp { oops.message.on(GameEvent.MissionStart, this.onMissionStart, this); oops.message.on(GameEvent.MissionEnd, this.onMissionEnd, this); oops.message.on(GameEvent.ToCallFriend, this.onCallFriend, this); - oops.message.on(GameEvent.CanUpdateLv, this.onLevelUp, this); + // oops.message.on(GameEvent.CanUpdateLv, this.onLevelUp, this); } @@ -80,7 +80,7 @@ export class MissionCardComp extends CCComp { oops.message.off(GameEvent.MissionStart, this.onMissionStart, this); oops.message.off(GameEvent.MissionEnd, this.onMissionEnd, this); oops.message.off(GameEvent.ToCallFriend, this.onCallFriend, this); - oops.message.off(GameEvent.CanUpdateLv, this.onLevelUp, this); + // oops.message.off(GameEvent.CanUpdateLv, this.onLevelUp, this); this.ent.destroy(); }