If timelimit is set while being modified (extremely unlikely but technically possible), stop adding extra time.

This commit is contained in:
toaster 2022-10-15 15:58:24 +01:00
parent 31bba30dcc
commit 02884d235c

View file

@ -4985,6 +4985,7 @@ static void TimeLimit_OnChange(void)
}
timelimitintics = cv_timelimit.value * (60*TICRATE);
extratimeintics = secretextratime = 0;
#ifdef HAVE_DISCORDRPC
DRPC_UpdatePresence();