]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a misplaced break
authorMario <zacjardine@y7mail.com>
Fri, 21 Sep 2018 01:25:23 +0000 (11:25 +1000)
committerMario <zacjardine@y7mail.com>
Fri, 21 Sep 2018 01:25:23 +0000 (11:25 +1000)
qcsrc/server/teamplay.qc

index 23e1ea356ab7ca5d698887da66a682b6e0a9c795..239fb69f0ca8e0e4b20b1da78d8e44897b4e6e5b 100644 (file)
@@ -585,8 +585,8 @@ entity TeamBalance_CheckAllowedTeams(entity for_whom)
                        TeamBalance_IsTeamAllowedInternal(balance, i))
                {
                        TeamBalance_BanTeamsExcept(balance, i);
+                       break;
                }
-               break;
        }
        balance.m_team_balance_state = TEAM_BALANCE_TEAMS_CHECKED;
        return balance;