From: z411 Date: Thu, 24 Mar 2022 04:24:39 +0000 (-0300) Subject: Fixed timer in unlimited warmup X-Git-Tag: xonotic-v0.8.5~128^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=488cf5c88f686df4aacc41fbdaf5b73ff57c74c9;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);