mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-11 17:48:10 +00:00
created PlayerType enum add FakeHuman type
This commit is contained in:
@@ -33,7 +33,7 @@ export class Executor {
|
||||
)
|
||||
} else if (intent.type == "spawn") {
|
||||
return new SpawnExecution(
|
||||
new PlayerInfo(intent.name, intent.isBot, intent.clientID, this.random.nextID()),
|
||||
new PlayerInfo(intent.name, intent.playerType, intent.clientID, this.random.nextID()),
|
||||
new Cell(intent.x, intent.y)
|
||||
)
|
||||
} else if (intent.type == "boat") {
|
||||
|
||||
Reference in New Issue
Block a user