public override void OnSave(ConfigNode node) { if ((enabled || HighLogic.LoadedSceneIsEditor) && CFG != null) { AllModules.ForEach(m => m.SaveToConfig()); CFG.SaveInto(node); } base.OnSave(node); }
public override void OnSave(ConfigNode node) { if (GroupMaster && CFG != null) { AllModules.ForEach(m => m.SaveToConfig()); CFG.SaveInto(node); } base.OnSave(node); }
public override void OnSave(ConfigNode node) { if (GroupMaster && CFG != null) { AllModules.ForEach(m => m.SaveToConfig()); CFG.SaveInto(node); //this.Log("OnSave: GroupMaster: {}", this);//debug } base.OnSave(node); }