Fix alt-tabbed desync with demos
- Fixed: Stop the game timer if the window looses focus
This commit is contained in:
parent
b08fcbf6b3
commit
16e0f79fd7
4 changed files with 13 additions and 19 deletions
|
|
@ -939,7 +939,7 @@ void NetUpdate (void)
|
|||
newtics = nowtime - gametime;
|
||||
gametime = nowtime;
|
||||
|
||||
if (newtics <= 0) // nothing new to update
|
||||
if (newtics <= 0 || pauseext) // nothing new to update or window paused
|
||||
{
|
||||
GetPackets ();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue