]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert "Fixed timer in unlimited warmup" 984/head
authorz411 <z411@omaera.org>
Thu, 24 Mar 2022 04:26:13 +0000 (01:26 -0300)
committerz411 <z411@omaera.org>
Thu, 24 Mar 2022 04:26:13 +0000 (01:26 -0300)
This reverts commit 488cf5c88f686df4aacc41fbdaf5b73ff57c74c9.

qcsrc/client/hud/panel/timer.qc

index 68e7312c7a5ba881ee1f45a000e91f64219ea7fb..cdf635f2273063bce61e865a5add4bec653ef33d 100644 (file)
@@ -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);