mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-24 10:35:03 +00:00
dont send the non-flag to the server
This commit is contained in:
+4
-1
@@ -143,7 +143,10 @@ class Client {
|
||||
this.gameStop = joinLobby(
|
||||
{
|
||||
gameType: gameType,
|
||||
flag: (): string => this.flagInput.getCurrentFlag(),
|
||||
flag: (): string =>
|
||||
this.flagInput.getCurrentFlag() == "xx"
|
||||
? ""
|
||||
: this.flagInput.getCurrentFlag(),
|
||||
playerName: (): string => this.usernameInput.getCurrentUsername(),
|
||||
gameID: lobby.id,
|
||||
persistentID: getPersistentIDFromCookie(),
|
||||
|
||||
Reference in New Issue
Block a user