mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-13 03:26:45 +00:00
have client create player id
This commit is contained in:
@@ -39,6 +39,7 @@ export class BotSpawner {
|
||||
}
|
||||
return {
|
||||
type: 'spawn',
|
||||
playerID: this.random.nextID(),
|
||||
name: botName,
|
||||
playerType: PlayerType.Bot,
|
||||
x: tile.cell().x,
|
||||
|
||||
Reference in New Issue
Block a user