From: z411 Date: Thu, 24 Mar 2022 04:26:13 +0000 (-0300) Subject: Revert "Fixed timer in unlimited warmup" X-Git-Tag: xonotic-v0.8.5~128^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fb2195d75a2a2d0f6eeb12eb24cc79e1b9263108;p=xonotic%2Fxonotic-data.pk3dir.git Revert "Fixed timer in unlimited warmup" This reverts commit 488cf5c88f686df4aacc41fbdaf5b73ff57c74c9. --- diff --git a/qcsrc/client/hud/panel/timer.qc b/qcsrc/client/hud/panel/timer.qc index 68e7312c7..cdf635f22 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);