bugfix: flags not showing in game

This commit is contained in:
Evan
2025-04-06 10:27:52 -07:00
parent e7041305fb
commit 08c2c01dae
8 changed files with 15 additions and 14 deletions
+1 -13
View File
@@ -11,11 +11,7 @@ import {
ServerStartGameMessageSchema,
Turn,
} from "../core/Schemas";
import {
createGameRecord,
decompressGameRecord,
generateID,
} from "../core/Util";
import { createGameRecord, decompressGameRecord } from "../core/Util";
import { LobbyConfig } from "./ClientGameRunner";
import { getPersistentIDFromCookie } from "./Main";
@@ -56,14 +52,6 @@ export class LocalServer {
gameID: this.lobbyConfig.gameStartInfo.gameID,
gameStartInfo: this.lobbyConfig.gameStartInfo,
turns: this.turns,
players: [
{
flag: this.lobbyConfig.flag,
playerID: generateID(),
clientID: this.lobbyConfig.clientID,
username: this.lobbyConfig.playerName,
},
],
}),
);
}