make fake humans join lobby

This commit is contained in:
evanpelle
2024-09-09 17:47:17 -07:00
parent 5e3aa1977e
commit 79ee5923b1
6 changed files with 42 additions and 9 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ export class ClientGame {
this.input.initialize()
this.gs.addExecution(...this.executor.spawnBots(this.gs.config().numBots()))
console.log('!!! number fake humans 15')
this.gs.addExecution(...this.executor.fakeHumanExecutions(15))
this.gs.addExecution(...this.executor.fakeHumanExecutions(this.gs.config().numFakeHumans(this.gameID)))
this.intervalID = setInterval(() => this.tick(), 10);
}