From a6b7abea541b0eb1f5e1d6bc409d8764c6234540 Mon Sep 17 00:00:00 2001 From: panw Date: Mon, 5 Jan 2026 11:00:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E9=87=8D=E7=BD=AE=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=E5=8F=96=E6=B6=88=E4=BA=8B=E4=BB=B6=E7=9B=91?= =?UTF-8?q?=E5=90=AC=E4=BB=A5=E9=98=B2=E6=AD=A2=E5=86=85=E5=AD=98=E6=B3=84?= =?UTF-8?q?=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/script/game/hero/TalComp.ts | 2 ++ 1 file changed, 2 insertions(+) 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;