Skip to content

Commit 04b6561

Browse files
author
Ibra
committed
bugfix(quickmatch): Disable the back button when a QuickMatch is found
1 parent 6266009 commit 04b6561

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,7 @@ void WOLQuickMatchMenuInit( WindowLayout *layout, void *userData )
11611161

11621162
pLobbyInterface->RegisterForMatchmakingMatchFoundCallback([]()
11631163
{
1164+
buttonBack->winEnable(FALSE);
11641165
buttonStop->winEnable(FALSE);
11651166
if (TheAudio)
11661167
{
@@ -1205,9 +1206,6 @@ void WOLQuickMatchMenuInit( WindowLayout *layout, void *userData )
12051206
// TODO_NGMP
12061207
//SendStatsToOtherPlayers(TheNGMPGame);
12071208

1208-
// we've started, there's no going back
1209-
// i.e. disable the back button.
1210-
buttonBack->winEnable(FALSE);
12111209
GameWindow* buttonBuddy = TheWindowManager->winGetWindowFromId(NULL, NAMEKEY("GameSpyGameOptionsMenu.wnd:ButtonCommunicator"));
12121210
if (buttonBuddy)
12131211
buttonBuddy->winEnable(FALSE);

0 commit comments

Comments
 (0)