From: z411 Date: Wed, 20 Oct 2021 04:35:29 +0000 (-0300) Subject: Reset: Use proper game_starttime X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5c414e7edc2dfb37a0477c56e2cf2aa7ef44d6b6;p=xonotic%2Fxonotic-data.pk3dir.git Reset: Use proper game_starttime --- 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), {