Skip to content

Commit

Permalink
Format for old prettier since we can't upgrade yet
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Mar 1, 2024
1 parent 7e03129 commit f1ed999
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
13 changes: 5 additions & 8 deletions src/Game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,14 +811,11 @@ export class Game extends EventEmitter<Events> {
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);
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

0 comments on commit f1ed999

Please sign in to comment.