mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- Fix netgame freeze situation
This commit is contained in:
parent
cf67883e6a
commit
5f4e4d859e
1 changed files with 4 additions and 0 deletions
|
@ -1914,6 +1914,10 @@ void TryRunTics (void)
|
|||
// Check possible stall conditions
|
||||
Net_CheckLastReceived (counts);
|
||||
|
||||
// Update time returned by I_GetTime, but only if we are stuck in this loop
|
||||
if (lowtic >= gametic + counts)
|
||||
I_SetFrameTime();
|
||||
|
||||
// don't stay in here forever -- give the menu a chance to work
|
||||
if (I_GetTime () - entertic >= 1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue