]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Survival: Fixed coop.
authorLyberta <lyberta@lyberta.net>
Sat, 9 Jun 2018 14:00:13 +0000 (17:00 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 9 Jun 2018 14:00:13 +0000 (17:00 +0300)
qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc

index 811bbd310faf498fd2ae10dfec78b5575f93b31a..5a53cbb430fbbbf7d69f6763fb5b5eb42abfcf13 100644 (file)
@@ -1615,7 +1615,7 @@ MUTATOR_HOOKFUNCTION(surv, TeamBalance_CheckAllowedTeams, CBC_ORDER_EXCLUSIVE)
                if (surv_num_defender_humans < autocvar_g_surv_team_size)
                {
                        M_ARGV(0, float) = surv_defender_team_bit;
-                       return;
+                       return true;
                }
                M_ARGV(0, float) = 0;
                return true;