mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 03:04:36 +00:00
bugfix: flags not showing in game
This commit is contained in:
@@ -16,5 +16,6 @@ export class Client {
|
||||
public readonly ip: string,
|
||||
public readonly username: string,
|
||||
public readonly ws: WebSocket,
|
||||
public readonly flag: string | null,
|
||||
) {}
|
||||
}
|
||||
|
||||
@@ -267,6 +267,7 @@ export class GameServer {
|
||||
playerID: c.playerID,
|
||||
username: c.username,
|
||||
clientID: c.clientID,
|
||||
flag: c.flag,
|
||||
})),
|
||||
});
|
||||
|
||||
|
||||
@@ -303,6 +303,7 @@ export function startWorker() {
|
||||
ip,
|
||||
clientMsg.username,
|
||||
ws,
|
||||
clientMsg.flag,
|
||||
);
|
||||
|
||||
const wasFound = gm.addClient(
|
||||
|
||||
Reference in New Issue
Block a user