From 05c98897e8b2328693ad26ba4bc30bfe6fd4569c Mon Sep 17 00:00:00 2001 From: TJH Date: Tue, 12 May 2026 10:09:47 +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 1f983af..f964cd6 100644 --- a/assets/Game/scripts/SlotGame.ts +++ b/assets/Game/scripts/SlotGame.ts @@ -205,7 +205,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)