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)