X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fkeyhunt%2Fkeyhunt.qc;h=5af4c45b7ddc9b7752f5aee5eb8a0c194efe08e5;hp=00eb886d5336b274398bb0739a51f9c6d8d1a78c;hb=70bba988cd32922d29e40235db6ad1d8149bdc67;hpb=d5e34836b0af6685b1c5aad493d6000f38d1ef25 diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc b/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc index 00eb886d53..5af4c45b7d 100644 --- a/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc @@ -1264,9 +1264,10 @@ MUTATOR_HOOKFUNCTION(kh, MatchEnd) kh_finalize(); } -MUTATOR_HOOKFUNCTION(kh, CheckAllowedTeams, CBC_ORDER_EXCLUSIVE) +MUTATOR_HOOKFUNCTION(kh, TeamBalance_CheckAllowedTeams, CBC_ORDER_EXCLUSIVE) { M_ARGV(0, float) = kh_teams; + return true; } MUTATOR_HOOKFUNCTION(kh, SpectateCopy)