]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed normal readying up
authorz411 <z411@omaera.org>
Sat, 3 Jul 2021 06:59:22 +0000 (02:59 -0400)
committerz411 <z411@omaera.org>
Sat, 3 Jul 2021 06:59:22 +0000 (02:59 -0400)
qcsrc/server/command/vote.qc

index 0784376c197b47772df3374c8ee976d213b32d00..56f99b03fd5e204711950efa73dfaf8f450a19b5 100644 (file)
@@ -518,7 +518,11 @@ void ReadyCount()
        ready_needed_factor = bound(0.5, cvar("g_warmup_majority_factor"), 0.999);
        ready_needed_count = floor(t_players * ready_needed_factor) + 1;
 
-       if (readycount >= ready_needed_count) ReadyRestart();
+       if (readycount >= ready_needed_count)
+       {
+               warmup_stage = 0;
+               ReadyRestart();
+       }
 }