Ejemplo n.º 1
0
        public static void OnQuickLoad() // 1.5.3 quick load fixes
        {
            VesselInformationDict.Clear();
#if false
            File.ClearNodes();
            VesselInformation.ClearNodes();
#endif
            print("WhitecatIndustries - Orbital Decay - Vessel Information lost OnQuickLoad");
        }
Ejemplo n.º 2
0
        public static void OnQuickSave()
        {
            if (DecayManager.CheckSceneStateMain(HighLogic.LoadedScene))
            {
                if (Planetarium.GetUniversalTime() == HighLogic.CurrentGame.UniversalTime || HighLogic.LoadedScene == GameScenes.FLIGHT)
                {
                    print("WhitecatIndustries - Orbital Decay - Vessel Information saved.");
                    SaveVesselInformation();
#if false
                    File.ClearNodes();
                    VesselInformation.Save(FilePath);
                    VesselInformation.ClearNodes();
#endif
                    print("WhitecatIndustries - Orbital Decay - Vessel Information lost OnQuickSave");
                }
            }
        }