public override void OnAwake()
        {
            Log("OnAwake");
            teamsToStop  = new List <string>();
            teamSettings = new List <TestFlightRNDTeamSettings>();
            ConfigNode node = GameDatabase.Instance.GetConfigNode("TFRNDSETTINGS");

            if (node != null)
            {
                node.TryGetValue("updateFrequency", ref updateFrequency);
                if (node.HasNode("TEAM"))
                {
                    ConfigNode[] teamNodes = node.GetNodes("TEAM");
                    foreach (ConfigNode teamNode in teamNodes)
                    {
                        TestFlightRNDTeamSettings team = new TestFlightRNDTeamSettings();
                        team.points     = 100f;
                        team.costFactor = 1.0f;
                        teamNode.TryGetValue("points", ref team.points);
                        teamNode.TryGetValue("costFactor", ref team.costFactor);
                        teamSettings.Add(team);
                    }
                }
                else
                {
                    TestFlightRNDTeamSettings team = new TestFlightRNDTeamSettings();
                    team.points     = 100f;
                    team.costFactor = 1.0f;
                    teamSettings.Add(team);
                    team.points     = 125f;
                    team.costFactor = 1.5f;
                    teamSettings.Add(team);
                    team.points     = 150f;
                    team.costFactor = 2.0f;
                    teamSettings.Add(team);
                }
            }
            else
            {
                updateFrequency = 86400d;
                TestFlightRNDTeamSettings team = new TestFlightRNDTeamSettings();
                team.points     = 100f;
                team.costFactor = 1.0f;
                teamSettings.Add(team);
                team.points     = 125f;
                team.costFactor = 1.5f;
                teamSettings.Add(team);
                team.points     = 150f;
                team.costFactor = 2.0f;
                teamSettings.Add(team);
            }
        }
 public override void OnAwake()
 {
     Log("OnAwake");
     teamsToStop = new List<string>();
     teamSettings = new List<TestFlightRNDTeamSettings>();
     ConfigNode node = GameDatabase.Instance.GetConfigNode("TFRNDSETTINGS");
     if (node != null)
     {
         node.TryGetValue("updateFrequency", ref updateFrequency);
         if (node.HasNode("TEAM"))
         {
             ConfigNode[] teamNodes = node.GetNodes("TEAM");
             foreach (ConfigNode teamNode in teamNodes)
             {
                 TestFlightRNDTeamSettings team = new TestFlightRNDTeamSettings();
                 team.points = 100f;
                 team.costFactor = 1.0f;
                 teamNode.TryGetValue("points", ref team.points);
                 teamNode.TryGetValue("costFactor", ref team.costFactor);
                 teamSettings.Add(team);
             }
         }
         else
         {
             TestFlightRNDTeamSettings team = new TestFlightRNDTeamSettings();
             team.points = 100f;
             team.costFactor = 1.0f;
             teamSettings.Add(team);
             team.points = 125f;
             team.costFactor = 1.5f;
             teamSettings.Add(team);
             team.points = 150f;
             team.costFactor = 2.0f;
             teamSettings.Add(team);
         }
     }
     else
     {
         updateFrequency = 86400d;
         TestFlightRNDTeamSettings team = new TestFlightRNDTeamSettings();
         team.points = 100f;
         team.costFactor = 1.0f;
         teamSettings.Add(team);
         team.points = 125f;
         team.costFactor = 1.5f;
         teamSettings.Add(team);
         team.points = 150f;
         team.costFactor = 2.0f;
         teamSettings.Add(team);
     }
 }