This commit is contained in:
Aotumuri
2025-04-26 13:50:07 +09:00
parent fab63c73bf
commit 43cd037ada
5 changed files with 5 additions and 2 deletions
+1
View File
@@ -17,5 +17,6 @@ export class Client {
public readonly username: string,
public readonly ws: WebSocket,
public readonly flag: string | null,
public readonly pattern: string | null,
) {}
}
+1
View File
@@ -273,6 +273,7 @@ export class GameServer {
playerID: c.playerID,
username: c.username,
clientID: c.clientID,
pattern: c.pattern,
flag: c.flag,
})),
});
+1
View File
@@ -301,6 +301,7 @@ export function startWorker() {
clientMsg.username,
ws,
clientMsg.flag,
clientMsg.pattern,
);
const wasFound = gm.addClient(