diff --git a/src/rooms/GeneralRoom.ts b/src/rooms/GeneralRoom.ts index d8ab665..fbbcd82 100644 --- a/src/rooms/GeneralRoom.ts +++ b/src/rooms/GeneralRoom.ts @@ -40,6 +40,9 @@ export class GeneralRoom extends Room { this.battleMan.init(cs, this); this.clock.start(); this.state.gameSate = 0; + this.beginSchedule(1, function (){ + debugRoom('init main clock'); + }, 'init') this.onMessage("play_ready_c2s", (client, message) => { msgLog('play_ready from ', client.sessionId, message); this.dispatcher.dispatch(new PlayReadyCommand(), {client});