From: z411 Date: Thu, 24 Mar 2022 04:26:33 +0000 (-0300) Subject: Fixed timer in unlimited warmup X-Git-Tag: xonotic-v0.8.5~138^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c82ebde5827001ab9ae9045cb033bac80e63e0f1;p=xonotic%2Fxonotic-data.pk3dir.git Fixed timer in unlimited warmup --- diff --git a/qcsrc/client/hud/panel/timer.qc b/qcsrc/client/hud/panel/timer.qc index cdf635f22..68e7312c7 100644 --- a/qcsrc/client/hud/panel/timer.qc +++ b/qcsrc/client/hud/panel/timer.qc @@ -91,7 +91,7 @@ void HUD_Timer() timer_color = HUD_Timer_Color(timeleft); // Timer text - if (autocvar_hud_panel_timer_increment || timelimit == 0) + if (autocvar_hud_panel_timer_increment || timelimit <= 0) timer = seconds_tostring(HUD_Timer_TimeElapsed(curtime, STAT(GAMESTARTTIME))); else timer = seconds_tostring(timeleft);