From 2778ee72cdb215908abfb99dbee1e96c06d5aefb Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Fri, 27 Jan 2023 03:02:13 -0500 Subject: [PATCH] - fix commit 532a726ae36a943d614a148afc3767d8a118229d - i_pauseinbackground is not supposed to bypass menu/console pause --- source/core/gamecontrol.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 81caa6663..eff22623a 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -1188,7 +1188,11 @@ int RunGame() void updatePauseStatus() { // This must go through the network in multiplayer games. - if (M_Active() || System_WantGuiCapture() || !AppActive) + if (M_Active() || System_WantGuiCapture()) + { + paused = 1; + } + else if (!AppActive) { if (i_pauseinbackground) paused = 1;