mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-17 13:19:43 +00:00
bugfix: flags not showing in game
This commit is contained in:
@@ -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,
|
||||
},
|
||||
],
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user