private void ChangeControlSys(Vessel v) { if (FARControlSys.SetActiveControlSysAndStabilitySystem(v, lastActiveVessel)) { lastActiveVessel = v; } }
public void LateUpdate() { if (FlightGlobals.ready) { //FARFlightButton = FARControlSys.ActiveControlSys && (FARControlSys.ActiveControlSys.vessel == FlightGlobals.ActiveVessel); if ((object)lastActiveVessel == null || lastActiveVessel != FlightGlobals.ActiveVessel) { if (FARControlSys.SetActiveControlSysAndStabilitySystem(FlightGlobals.ActiveVessel, lastActiveVessel)) { lastActiveVessel = FlightGlobals.ActiveVessel; } } } }
public void LateUpdate() { if (!CompatibilityChecker.IsAllCompatible()) { return; } if (FlightGlobals.ready) { //FARFlightButton = FARControlSys.ActiveControlSys && (FARControlSys.ActiveControlSys.vessel == FlightGlobals.ActiveVessel); if (FARControlSys.ActiveControlSys == null) { if (FARControlSys.SetActiveControlSysAndStabilitySystem(FlightGlobals.ActiveVessel, lastActiveVessel)) { lastActiveVessel = FlightGlobals.ActiveVessel; } } } }