private void SortIntoTeam(NetworkPlayer_Lobby player) { if (player.Team == 1) { if (team1List.Count >= team1Max) { player.SetTeam(2); } else { team1List.AddPlayerToList(player); } } else if (player.Team == 2) { if (team2List.Count >= team1Max) { player.SetTeam(0); } else { team2List.AddPlayerToList(player); } } else { teamlessList.AddPlayerToList(player); } }