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
View File
@@ -16,5 +16,6 @@ export class Client {
public readonly ip: string,
public readonly username: string,
public readonly ws: WebSocket,
public readonly flag: string | null,
) {}
}
+1
View File
@@ -267,6 +267,7 @@ export class GameServer {
playerID: c.playerID,
username: c.username,
clientID: c.clientID,
flag: c.flag,
})),
});
+1
View File
@@ -303,6 +303,7 @@ export function startWorker() {
ip,
clientMsg.username,
ws,
clientMsg.flag,
);
const wasFound = gm.addClient(