From: z411 Date: Sun, 27 Feb 2022 20:27:36 +0000 (-0300) Subject: Fixed bug where swapped timer wouldn't show anything in non round-based modes X-Git-Tag: xonotic-v0.8.5~177^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=05def8d9aaee3e16e37b5bd0e9a8955bf81c1c69;p=xonotic%2Fxonotic-data.pk3dir.git Fixed bug where swapped timer wouldn't show anything in non round-based modes --- diff --git a/qcsrc/client/hud/panel/timer.qc b/qcsrc/client/hud/panel/timer.qc index 1b4dc2070..94028d864 100644 --- a/qcsrc/client/hud/panel/timer.qc +++ b/qcsrc/client/hud/panel/timer.qc @@ -53,7 +53,7 @@ void HUD_Timer() vector timer_size, subtext_size, subtimer_size; vector timer_color = '1 1 1'; vector subtimer_color = '1 1 1'; - bool swap = (autocvar_hud_panel_timer_secondary == 2); + bool swap = (autocvar_hud_panel_timer_secondary == 2 && STAT(ROUNDSTARTTIME)); // Calculate timelimit if(warmup_stage)