Fix alt-tabbed desync with demos

- Fixed: Stop the game timer if the window looses focus
This commit is contained in:
Edward Richardson 2014-11-11 02:18:52 +13:00
commit 16e0f79fd7
4 changed files with 13 additions and 19 deletions

View file

@ -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;