public void HireTeam() { if (CheckBusyTeams() + teamController.CheckBusyTeams() >= 24) { return; } for (int i = 0; i < teams.Length; i++) { if (teams[i].hired == false && teams[i].busy == 0) { teams[i].hired = true; break; } } ShowTeams(); }