Merge pull request #93 from PilkeySEK/none-flag-fix

Fix the "None" flag displaying in-game
This commit is contained in:
evanpelle
2025-03-01 21:42:55 -08:00
committed by GitHub
+4 -1
View File
@@ -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(),