Returning to camp no longer rewards you stage items. Changed CloseAllMenus() to actually call CloseMenu() multiple times instead to prevent lockouts while holding down menu buttons and having menus closed on (such as getting hit by enemy attacks while in the pause menu). Release Build 7646.

This commit is contained in:
2024-02-27 04:10:59 -06:00
parent e8ac5a957f
commit 08aa7a309d
4 changed files with 16 additions and 14 deletions
+3 -4
View File
@@ -639,10 +639,9 @@ std::pair<MenuType,std::string>Menu::GetMemoryLeakReportInfo(){
}
void Menu::CloseAllMenus(){
if(stack.size()>0){
stack.clear();
}else{
ERR("WARNING! Trying to close out no menu?? Why are we doing this?")
if(stack.size()==0)ERR("WARNING! Trying to close out no menu?? Why are we doing this?");
while(stack.size()>0){
CloseMenu();
}
}