]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/cmd.qc
Better team balance function names.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / cmd.qc
index 088925f100f2f3f47499a4be5a72bcac7861bf15..2314f71033c85bc664366607011b0714761eeb6a 100644 (file)
@@ -396,7 +396,7 @@ void ClientCommand_selectteam(entity caller, float request, float argc)
                        {
                                CheckAllowedTeams(caller);
                                GetTeamCounts(caller);
-                               if ((BIT(Team_TeamToNumber(selection) - 1) & FindBestTeams(caller, false)) == 0)
+                               if ((BIT(Team_TeamToNumber(selection) - 1) & FindBestTeamsForBalance(caller, false)) == 0)
                                {
                                        Send_Notification(NOTIF_ONE, caller, MSG_INFO, INFO_TEAMCHANGE_LARGERTEAM);
                                        return;