/// <summary> /// Handle throttle quirky operation... /// </summary> static void HandleThrottle(Vessel vessel, ControlInputs inputs) { if (!inputs.ThrottleUpdated) { return; } if (FlightGlobals.ActiveVessel != vessel) { return; } if (RemoteTech.IsAvailable && !(RemoteTech.HasLocalControl(vessel.id) || RemoteTech.HasAnyConnection(vessel.id))) { return; } FlightInputHandler.state.mainThrottle = inputs.Throttle; inputs.Throttle = 0f; inputs.ThrottleUpdated = false; }