]> 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>
Fri, 5 Nov 2021 18:04:37 +0000 (15:04 -0300)
qcsrc/server/command/vote.qc

index 7ab543e32c95d84df5ab0992b033cb09d0deb6e0..02e78d88ae3e37cd472e9c9626268921dd135ff0 100644 (file)
@@ -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), {