mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
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:
@@ -67,6 +67,9 @@ class JoinButton
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.joinButton.hidden)
|
||||
return;
|
||||
|
||||
Engine.PushGuiPage("page_gamesetup_mp.xml", {
|
||||
"multiplayerGameType": "join",
|
||||
"name": g_Nickname,
|
||||
|
||||
Reference in New Issue
Block a user