override public void writeModuleConfiguration()
 {
     this.autopilot.ascentPath = this.ascentPath;
     this.autopilot.desiredOrbitAltitude.val = this.desiredOrbitAltitude;
     this.autopilot.desiredInclination       = this.desiredInclination;
     this.autopilot.autoThrottle             = this.autoThrottle;
     this.autopilot.correctiveSteering       = this.correctiveSteering;
     this.autopilot.forceRoll             = this.forceRoll;
     this.autopilot.verticalRoll          = this.verticalRoll;
     this.autopilot.turnRoll              = this.turnRoll;
     this.autopilot.autodeploySolarPanels = this.autodeploySolarPanels;
     this.autopilot._autostage            = this._autostage;
 }
 private void get_path_and_editor(int i, out MechJebModuleAscentBase p, out MechJebModuleAscentMenuBase e)
 {
     if (i == 0)
     {
         p = core.GetComputerModule <MechJebModuleAscentClassic>();
         e = core.GetComputerModule <MechJebModuleAscentClassicMenu>();
     }
     else if (i == 1)
     {
         p = core.GetComputerModule <MechJebModuleAscentGT>();
         e = core.GetComputerModule <MechJebModuleAscentGTMenu>();
     }
     else if (i == 2)
     {
         p = core.GetComputerModule <MechJebModuleAscentPEG>();
         e = core.GetComputerModule <MechJebModuleAscentPEGMenu>();
     }
     else
     {
         p = null;
         e = null;
     }
 }