have client create player id

This commit is contained in:
evanpelle
2024-09-07 21:23:38 -07:00
parent 24ad59c75d
commit 8331047a9b
6 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export class Executor {
)
} else if (intent.type == "spawn") {
return new SpawnExecution(
new PlayerInfo(intent.name, intent.playerType, intent.clientID, this.random.nextID()),
new PlayerInfo(intent.name, intent.playerType, intent.clientID, intent.playerID),
new Cell(intent.x, intent.y)
)
} else if (intent.type == "boat") {