mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-08 23:43:13 +00:00
add GameConfig to Game
This commit is contained in:
@@ -26,11 +26,6 @@ export class BotExecution implements Execution {
|
||||
}
|
||||
|
||||
tick(ticks: number) {
|
||||
|
||||
if (ticks < this.mg.config().numSpawnPhaseTurns()) {
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.bot.isAlive()) {
|
||||
this.active = false
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user