File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ void RunMenuLoop() {
271
271
if (g_MenuMan.Update ()) {
272
272
break ;
273
273
}
274
+
274
275
g_ConsoleMan.Update ();
275
276
276
277
g_UInputMan.EndFrame ();
@@ -381,7 +382,6 @@ void RunGameLoop() {
381
382
g_PerformanceMan.ResetSimUpdateTimer ();
382
383
updateStartTime = g_TimerMan.GetAbsoluteTime ();
383
384
}
384
-
385
385
}
386
386
387
387
updateEndAndDrawStartTime = g_TimerMan.GetAbsoluteTime ();
Original file line number Diff line number Diff line change @@ -129,6 +129,12 @@ void MenuMan::HandleTransitionIntoMenuLoop() {
129
129
}
130
130
131
131
bool MenuMan::Update () {
132
+ // If we're in the menu but the activity isn't set as paused, then exit
133
+ // This can mismatch sometimes like when loading a saved game
134
+ if (m_ActiveMenu != ActiveMenu::MenusDisabled && !g_ActivityMan.ActivityPaused ()) {
135
+ return true ;
136
+ }
137
+
132
138
m_TitleScreen->Update ();
133
139
SetActiveMenu ();
134
140
You can’t perform that action at this time.
0 commit comments