Skip to content

Commit 5aac11b

Browse files
author
Ibra
committed
fix: Fix lobby lockup when hosting while disconnected from backend
1 parent b7cfeaf commit 5aac11b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/PopupHostGame.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,9 @@ void createGame()
676676
NGMP_OnlineServices_LobbyInterface* pLobbyInterface = NGMP_OnlineServicesManager::GetInterface<NGMP_OnlineServices_LobbyInterface>();
677677
if (!pLobbyInterface)
678678
{
679+
parentPopup = nullptr;
680+
GameSpyCloseOverlay(GSOVERLAY_GAMEOPTIONS);
681+
SetLobbyAttemptHostJoin(FALSE);
679682
GSMessageBoxOk(UnicodeString(L"Error"), UnicodeString(L"Failed to get Online Services Lobby Interface!"));
680683
return;
681684
}

0 commit comments

Comments
 (0)