From: FruitieX Date: Wed, 15 Dec 2010 17:57:52 +0000 (+0200) Subject: also allow restart by readying up if the warmup has a timelimit, if everyone's ready... X-Git-Tag: xonotic-v0.1.0preview~21^2~3^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=278ee02961bab67692e8ef49cec2a502b01f98e4;p=xonotic%2Fxonotic-data.pk3dir.git also allow restart by readying up if the warmup has a timelimit, if everyone's ready to play why force them to wait! --- diff --git a/qcsrc/server/clientcommands.qc b/qcsrc/server/clientcommands.qc index adaf36f16..9203d87a1 100644 --- a/qcsrc/server/clientcommands.qc +++ b/qcsrc/server/clientcommands.qc @@ -261,7 +261,7 @@ void SV_ParseClientCommand(string s) { if not(self.flags & FL_CLIENT) return; - if((inWarmupStage && 0 >= g_warmup_limit) // with unlimited warmup players have to be able to restart + if((inWarmupStage) || autocvar_sv_ready_restart || g_race_qualifying == 2) { if(!readyrestart_happened || autocvar_sv_ready_restart_repeatable)