Skip to content

Commit 5071e86

Browse files
authored
[GEN][ZH] Fix Diplomacy Screen, Tooltips and Chat not working after surrender (#1306)
1 parent e6384bd commit 5071e86

File tree

2 files changed

+4
-0
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus
  • Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus

2 files changed

+4
-0
lines changed

Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/QuitMenu.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ void destroyQuitMenu()
127127
}
128128
quitMenuLayout = NULL;
129129
isVisible = FALSE;
130+
131+
TheInGameUI->setQuitMenuVisible(FALSE);
130132
}
131133

132134
/**

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ void destroyQuitMenu()
127127
}
128128
quitMenuLayout = NULL;
129129
isVisible = FALSE;
130+
131+
TheInGameUI->setQuitMenuVisible(FALSE);
130132
}
131133

132134
/**

0 commit comments

Comments
 (0)