From 5f4e4d859eaae617d303a5543e1c1181a2ef61d5 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 20 Mar 2018 01:28:25 +0100 Subject: [PATCH] - Fix netgame freeze situation --- src/d_net.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/d_net.cpp b/src/d_net.cpp index 57dbb93b74..9535a43426 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -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) {