- pause the game when app is not active.

This commit is contained in:
Christoph Oelckers 2021-05-16 10:53:38 +02:00
parent f2d75d4146
commit 7358f4344f

View file

@ -1043,7 +1043,7 @@ int RunGame()
void updatePauseStatus() void updatePauseStatus()
{ {
// This must go through the network in multiplayer games. // This must go through the network in multiplayer games.
if (M_Active() || System_WantGuiCapture()) if (M_Active() || System_WantGuiCapture() || !AppActive)
{ {
paused = 1; paused = 1;
} }