From c82ebde5827001ab9ae9045cb033bac80e63e0f1 Mon Sep 17 00:00:00 2001 From: z411 Date: Thu, 24 Mar 2022 01:26:33 -0300 Subject: [PATCH] Fixed timer in unlimited warmup --- qcsrc/client/hud/panel/timer.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2