useTeams = true;
disable_teamCreation = true;
default_time = 5;
default_lives = 1;
default_latejointime = 0;
teams_minTeams = 2;
teams_maxTeams = 2;
new ScriptObject()
{
disable_delete = true;
default_name = "Red";
default_color = GetClosestColorID("255 0 0");
};
new ScriptObject()
{
disable_delete = true;
default_name = "Blue";
default_color = GetClosestColorID("0 0 255");
};
This works all fine and dandy.
And I can edit the teams, works just fine. Good.
But if I edit the team and then later edit any other slayer settings, the teams get recreated. So then there's 4 teams, Red, Blue, Red#####, Blue#####. The gamemode is only meant to support 2 teams, and I even set it to a limit of 2 teams.