From 395d1f1b8f38e0dc8c00cf29318cceffc1b9862b Mon Sep 17 00:00:00 2001
From: Louis-Antoine <lamr@free.fr>
Date: Tue, 27 Oct 2020 20:23:32 +0100
Subject: [PATCH] Do not pause the client while redownloading the gamestate

---
 src/d_clisrv.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/d_clisrv.c b/src/d_clisrv.c
index 30c558f2f8..aa18ee3803 100644
--- a/src/d_clisrv.c
+++ b/src/d_clisrv.c
@@ -4274,9 +4274,6 @@ static void HandlePacketFromPlayer(SINT8 node)
 				break;
 			}
 
-			if (cl_redownloadinggamestate)
-				break;
-
 			realstart = netbuffer->u.serverpak.starttic;
 			realend = realstart + netbuffer->u.serverpak.numtics;
 
@@ -5001,8 +4998,7 @@ void NetUpdate(void)
 		if (cl_redownloadinggamestate && fileneeded[0].status == FS_FOUND)
 			CL_ReloadReceivedSavegame();
 
-		if (!cl_redownloadinggamestate)
-			CL_SendClientCmd(); // Send tic cmd
+		CL_SendClientCmd(); // Send tic cmd
 		hu_redownloadinggamestate = cl_redownloadinggamestate;
 	}
 	else
-- 
GitLab