From 9c5966dd84cf13ddba9354886ce1ecf1eb040bf6 Mon Sep 17 00:00:00 2001 From: TJH Date: Tue, 12 May 2026 10:14:25 +0800 Subject: [PATCH] bug --- assets/Game/scripts/SlotGame.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/Game/scripts/SlotGame.ts b/assets/Game/scripts/SlotGame.ts index eef7dab..402234b 100644 --- a/assets/Game/scripts/SlotGame.ts +++ b/assets/Game/scripts/SlotGame.ts @@ -208,7 +208,7 @@ export class SlotGame extends Component { this.rollerManager.node.off(ROLLER_COMBINE_EVENT.ALL_ROLLER_ICONS_CREATED, this.onAllRollerIconsCreated, this); this.rollerManager.node.off(ROLLER_COMBINE_EVENT.ALL_ROLLER_ICONS_FALLEN, this.onAllRollerIconsFallen, this); - IconEventBus.on('ICON_CLICKED', this.onIconClicked, this); + IconEventBus.off('ICON_CLICKED', this.onIconClicked, this); } private currentBgState: boolean = true; // 记录当前背景状态,默认为普通模式(false)