From bf7f5c0b22733002fbde9ac642ef3d9b9274aba0 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 13 Dec 2022 15:14:43 +1000 Subject: [PATCH] Support multi-stage warmups in Announcer_Time() --- qcsrc/client/announcer.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/announcer.qc b/qcsrc/client/announcer.qc index 70834c509..077a1c6d0 100644 --- a/qcsrc/client/announcer.qc +++ b/qcsrc/client/announcer.qc @@ -214,7 +214,7 @@ void Announcer_Time() { float warmup_timelimit = STAT(WARMUP_TIMELIMIT); if(warmup_timelimit > 0) - timeleft = max(0, warmup_timelimit - time); + timeleft = max(0, warmup_timelimit + starttime - time); else timeleft = 0; } -- 2.39.2