mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 16:53:25 +00:00
create leaderboard, max 18 char name
This commit is contained in:
@@ -47,7 +47,7 @@ export class Executor {
|
||||
)
|
||||
} else if (intent.type == "spawn") {
|
||||
return new SpawnExecution(
|
||||
new PlayerInfo(intent.name, intent.playerType, intent.clientID, intent.playerID),
|
||||
new PlayerInfo(intent.name.slice(0, 18), intent.playerType, intent.clientID, intent.playerID),
|
||||
new Cell(intent.x, intent.y)
|
||||
)
|
||||
} else if (intent.type == "boat") {
|
||||
|
||||
Reference in New Issue
Block a user