public override void OnStart(PartModule.StartState state) { if (autopilot != null) { desiredInclination = autopilot.desiredInclination; // FIXME: remove this indirection } navBall = core.GetComputerModule <MechJebModuleAscentNavBall>(); }
public override void OnStart(PartModule.StartState state) { autopilot = core.GetComputerModule <MechJebModuleAscentAutopilot>(); if (autopilot != null) { desiredInclination = autopilot.desiredInclination; } navBall = core.GetComputerModule <MechJebModuleAscentNavBall>(); }
public override void OnStart(PartModule.StartState state) { autopilot = core.GetComputerModule<MechJebModuleAscentAutopilot>(); if (autopilot != null) { desiredInclination = autopilot.desiredInclination; } navBall = core.GetComputerModule<MechJebModuleAscentNavBall>(); }