]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reset: Use proper game_starttime
authorz411 <z411@omaera.org>
Wed, 20 Oct 2021 04:35:29 +0000 (01:35 -0300)
committerz411 <z411@omaera.org>
Wed, 20 Oct 2021 04:35:29 +0000 (01:35 -0300)
qcsrc/server/command/vote.qc

index 56f99b03fd5e204711950efa73dfaf8f450a19b5..6276d2e3c93f3e97575b4551ff719817696cfbe1 100644 (file)
@@ -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), {