mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-24 04:53:36 +00:00
SpawnExecution
This commit is contained in:
@@ -39,7 +39,7 @@ export class SpawnExecution implements Execution {
|
||||
|
||||
if (!player.hasSpawned()) {
|
||||
this.mg.addExecution(new PlayerExecution(player.id()));
|
||||
if (player.type() == PlayerType.Bot) {
|
||||
if (player.type() === PlayerType.Bot) {
|
||||
this.mg.addExecution(new BotExecution(player));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user