]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also allow restart by readying up if the warmup has a timelimit, if everyone's ready...
authorFruitieX <fruitiex@gmail.com>
Wed, 15 Dec 2010 17:57:52 +0000 (19:57 +0200)
committerFruitieX <fruitiex@gmail.com>
Wed, 15 Dec 2010 17:57:52 +0000 (19:57 +0200)
qcsrc/server/clientcommands.qc

index adaf36f16415dc860c2b746dfc5d42074e98a856..9203d87a1ae760f97561fff1dbd9a1fe5b19d60f 100644 (file)
@@ -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)