diff --git a/assets/script/game/hero/TalComp.ts b/assets/script/game/hero/TalComp.ts index 370f51cb..92d27b80 100644 --- a/assets/script/game/hero/TalComp.ts +++ b/assets/script/game/hero/TalComp.ts @@ -280,6 +280,8 @@ export class TalComp extends ecs.Comp { * 重置组件状态 */ reset() { + oops.message.off(GameEvent.CanUpdateLv, this.onLevelUp, this); + oops.message.off(GameEvent.UseTalentCard, this.onUseTalentCard, this); this.Tals = {}; this.heroUuid = 0; this.heroView = null;