mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- pause the game when app is not active.
This commit is contained in:
parent
f2d75d4146
commit
7358f4344f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue