From: Lyberta Date: Sat, 9 Jun 2018 14:00:13 +0000 (+0300) Subject: Survival: Fixed coop. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6681e63506c9f2e809a8d9ed8a1ce4c95704632a;p=xonotic%2Fxonotic-data.pk3dir.git Survival: Fixed coop. --- diff --git a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc index 811bbd310..5a53cbb43 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc +++ b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc @@ -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;