mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-08-21 18:34:00 -05:00
Don't auto join a game on app load if saved nickname is empty
This commit is contained in:
@@ -227,6 +227,6 @@ if (window.location.hash != '') {
|
||||
document.getElementById('preGameDefaultSection')!.hidden = true;
|
||||
document.getElementById('preGameJoinSection')!.hidden = false;
|
||||
(document.getElementById('gameIDBox') as HTMLInputElement).value = window.location.hash;
|
||||
if (playerName != null)
|
||||
if (playerName)
|
||||
tryJoinGame(playerName, window.location.hash, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user