From: z411 Date: Sat, 3 Jul 2021 06:59:22 +0000 (-0400) Subject: Fixed normal readying up X-Git-Tag: xonotic-v0.8.5~253^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=94b8e66ce4d306a03b81a93b4726d155d51da816;p=xonotic%2Fxonotic-data.pk3dir.git Fixed normal readying up --- diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 0784376c1..56f99b03f 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -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(); + } }