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.
This commit is contained in:
John FrostFox 2021-12-12 03:18:30 +03:00
parent 6504557393
commit 9dc22a4086

View file

@ -5485,7 +5485,7 @@ void NetUpdate(void)
}
nowtime /= NEWTICRATERATIO;
if (nowtime > resptime)
if (nowtime != resptime)
{
resptime = nowtime;
#ifdef HAVE_THREADS