From 5c414e7edc2dfb37a0477c56e2cf2aa7ef44d6b6 Mon Sep 17 00:00:00 2001 From: z411 Date: Wed, 20 Oct 2021 01:35:29 -0300 Subject: [PATCH] Reset: Use proper game_starttime --- qcsrc/server/command/vote.qc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 7ab543e32..02e78d88a 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -449,15 +449,9 @@ void ReadyRestart_force() checkrules_suddendeathend = checkrules_overtimesadded = checkrules_suddendeathwarning = 0; if(!warmup_stage) - { - readyrestart_happened = true; game_starttime = time + RESTART_COUNTDOWN; - } else - { - readyrestart_happened = false; - game_starttime = 0; - } + game_starttime = time; // No countdown in warmup // clear player attributes FOREACH_CLIENT(IS_PLAYER(it), { -- 2.39.2