public StnSciScenario()
 {
     Instance = this;
     if (settings == null)
     {
         settings = new StnSciSettings();
         foreach (ConfigNode node in GameDatabase.Instance.GetConfigNodes("STN_SCI_SETTINGS"))
         {
             if (!ConfigNode.LoadObjectFromConfig(settings, node))
             {
                 StnSciScenario.LogError("Station Science: failed to load settings");
             }
             settings.Load(node);
         }
     }
 }
示例#2
0
 public void Save(ConfigNode node)
 {
     StnSciScenario.LogError("CNMap.Save called; not implemented");
 }