From: z411 Date: Wed, 20 Oct 2021 04:35:29 +0000 (-0300) Subject: Reset: Use proper game_starttime X-Git-Tag: xonotic-v0.8.5~253^2~9 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=cf557ca5e6199a3b62b94fe3bc364ebce7539c7b;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 56f99b03f..6276d2e3c 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -438,15 +438,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), {