diff --git a/src/Game.ts b/src/Game.ts index b72e23a8..644ac5ef 100644 --- a/src/Game.ts +++ b/src/Game.ts @@ -811,14 +811,11 @@ export class Game extends EventEmitter { this.sendChat("Maximum pause time reached, unpausing clock"); this.resumeGame(); } else { - this.unpause_timeout = setTimeout( - () => { - this.unpause_timeout = undefined; - this.sendChat("Maximum pause time reached, unpausing clock"); - this.resumeGame(); - }, - (config.max_pause_time - pause_duration_s) * 1000, - ); + this.unpause_timeout = setTimeout(() => { + this.unpause_timeout = undefined; + this.sendChat("Maximum pause time reached, unpausing clock"); + this.resumeGame(); + }, (config.max_pause_time - pause_duration_s) * 1000); } } } diff --git a/src/pools.ts b/src/pools.ts index 511d3973..efae5638 100644 --- a/src/pools.ts +++ b/src/pools.ts @@ -268,12 +268,12 @@ export const bot_pools: { config.ending_bot?.manager === "pool" ? new BotPoolManager("Ending", config.ending_bot) : config.ending_bot?.manager === "persistent" - ? new PersistentBotManager("Ending", config.ending_bot) - : null, + ? new PersistentBotManager("Ending", config.ending_bot) + : null, opening: config.opening_bot?.manager === "pool" ? new BotPoolManager("Opening", config.opening_bot) : config.opening_bot?.manager === "persistent" - ? new PersistentBotManager("Opening", config.opening_bot) - : null, + ? new PersistentBotManager("Opening", config.opening_bot) + : null, };