private void RememberTeams()
{
fDebugScramblerStartRound[0].Clear();
fDebugScramblerStartRound[1].Clear();
lock (fAllPlayers) {
foreach (String egg in fAllPlayers) {
try {
PlayerModel player = GetPlayer(egg);
if (player == null) continue;
// For debugging
if (player.Team > 0 && player.Team <= 2) {
fDebugScramblerStartRound[player.Team-1].Add(player.ClonePlayer());
} else continue; // skip joining players
} catch (Exception e) {
if (DebugLevel >= 8) ConsoleException(e);
}
}
}
if (DebugLevel >= 6) CommandToLog("scrambled");
}