Fix crash when trying to join games in lobby dialog

This fixes an oversight from d655455304. During a code deduplication, a
check was removed. When looking at the lobby as a dialog (while in
gamesetup), it should be impossible to try to join a game.
This commit is contained in:
Itms
2025-01-27 10:15:45 +01:00
parent ffa11b37a8
commit 6ac5c376ea
@@ -67,6 +67,9 @@ class JoinButton
return;
}
if (this.joinButton.hidden)
return;
Engine.PushGuiPage("page_gamesetup_mp.xml", {
"multiplayerGameType": "join",
"name": g_Nickname,