From 9dc22a408621a28e2e5c9466439d2705796f77e0 Mon Sep 17 00:00:00 2001 From: John FrostFox Date: Sun, 12 Dec 2021 03:18:30 +0300 Subject: [PATCH] Fix for rare but possible menu unresponsiveness bug It may happen if SDL timers get wonky or you've been ruuning the game for so long that the global timer wraps around. --- src/d_clisrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 78a3ebe6c..26dd89beb 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -5485,7 +5485,7 @@ void NetUpdate(void) } nowtime /= NEWTICRATERATIO; - if (nowtime > resptime) + if (nowtime != resptime) { resptime = nowtime; #ifdef HAVE_THREADS