private void ObjectiveSecured(team t, ObjectiveScript objectiveScript) { HUDScript.NotifyObjective(t); if (objectiveScript == objective0) { securedObjectives[0] = t; } else if (objectiveScript == objective1) { securedObjectives[1] = t; } else if (objectiveScript == objective2) { securedObjectives[2] = t; } }