mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-11 16:48:08 +00:00
test
This commit is contained in:
@@ -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,
|
||||
) {}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,7 @@ export class GameServer {
|
||||
playerID: c.playerID,
|
||||
username: c.username,
|
||||
clientID: c.clientID,
|
||||
pattern: c.pattern,
|
||||
flag: c.flag,
|
||||
})),
|
||||
});
|
||||
|
||||
@@ -301,6 +301,7 @@ export function startWorker() {
|
||||
clientMsg.username,
|
||||
ws,
|
||||
clientMsg.flag,
|
||||
clientMsg.pattern,
|
||||
);
|
||||
|
||||
const wasFound = gm.addClient(
|
||||
|
||||
Reference in New Issue
Block a user