From 3c84d82d7f519305ee3741741e8129eabbfbbdc6 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Sun, 15 Oct 2023 14:51:06 -0700 Subject: [PATCH] Robust sigchecks: actually stage the entire diff --- src/d_clisrv.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 0a2cbf53d..b5c982a43 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -6838,7 +6838,7 @@ static void CheckPresentPlayers(void) } // Handle "client-to-client" auth challenge flow. -static void UpdateChallenges(void) +void UpdateChallenges(void) { if (!(Playing() && netgame)) return; @@ -6857,7 +6857,7 @@ static void UpdateChallenges(void) } else // client { - if (leveltime <= CHALLENGEALL_START) + if (leveltime < CHALLENGEALL_START) expectChallenge = true; if (leveltime == CHALLENGEALL_START) @@ -7019,8 +7019,6 @@ void NetUpdate(void) UpdatePingTable(); - UpdateChallenges(); - if (client) maketic = neededtic;