diff --git a/assets/module/common/GameComponent.ts b/assets/module/common/GameComponent.ts index e24b43d..0b9e9bb 100644 --- a/assets/module/common/GameComponent.ts +++ b/assets/module/common/GameComponent.ts @@ -267,7 +267,7 @@ export class GameComponent extends Component { * onGlobal(event: string, args: any) { console.log(args) }; */ protected setEvent(...args: string[]) { - this.setButtonList(args); + this.setEventList(args); } protected setEventList(args: string[]) { var self: any = this;