saveCraftToFile() public static method

public static saveCraftToFile ( ) : void
return void
        public void continueTrack(Track track)
        {
            Debug.Log("TrackManager continueTrack()");
            stopRecording();

            CraftLoader.saveCraftToFile();

            recording          = true;
            track.SourceVessel = FlightGlobals.ActiveVessel;
            track.VesselName   = track.SourceVessel.name;

            activeTrack = track;
            updateCurrentTrack();
        }
        public void startNewTrack()
        {
            Debug.Log("Starting new Track");
            recording = true;


            //create new Track
            activeTrack = new Track(); //initializes with TrackName = activeVessel.Name

            CraftLoader.saveCraftToFile();

            activeTrack.TrackName = Utilities.makeUniqueTrackName(activeTrack.TrackName, ref allTracks, false);
            allTracks.Add(activeTrack);
            updateCurrentTrack();
        }