diff --git a/src/core/execution/BotExecution.ts b/src/core/execution/BotExecution.ts index 0189bb37e..583f9b6e0 100644 --- a/src/core/execution/BotExecution.ts +++ b/src/core/execution/BotExecution.ts @@ -11,6 +11,8 @@ export class BotExecution implements Execution { private gs: MutableGame private neighborsTerra = true + private ticksUntilStart = 50 + constructor(private bot: MutablePlayer, private playerConfig: PlayerConfig) { this.random = new PseudoRandom(bot.id()) @@ -23,6 +25,11 @@ export class BotExecution implements Execution { } tick(ticks: number) { + + if (ticks < this.ticksUntilStart) { + return + } + if (!this.bot.isAlive()) { this.active = false return @@ -42,7 +49,6 @@ export class BotExecution implements Execution { this.neighborsTerra = false } - const ns = this.bot.neighbors() if (ns.length == 0) { return