diff --git a/Source/RP0/Avionics/ControlLockerUtils.cs b/Source/RP0/Avionics/ControlLockerUtils.cs index 20abb078c7..fbece0877b 100644 --- a/Source/RP0/Avionics/ControlLockerUtils.cs +++ b/Source/RP0/Avionics/ControlLockerUtils.cs @@ -62,7 +62,7 @@ public static LockLevel ShouldLock(List parts, bool countClamps, out float if (ecResource > 0 || HighLogic.LoadedSceneIsEditor) { partAvionicsMass += mA.CurrentMassLimit; - axial |= mA.allowAxial; + axial |= !mA.dead && mA.allowAxial; isLimitedByNonInterplanetary |= mA.IsNearEarthAndLockedByInterplanetary; } } diff --git a/Source/RP0/Avionics/ModuleAvionics.cs b/Source/RP0/Avionics/ModuleAvionics.cs index 59e73741e1..30f3518980 100644 --- a/Source/RP0/Avionics/ModuleAvionics.cs +++ b/Source/RP0/Avionics/ModuleAvionics.cs @@ -89,7 +89,7 @@ public bool IsLockedByInterplanetary /// /// Whether the avionics is NE with controllable mass > 0 and control is being locked by being interplanetary. /// - public bool IsNearEarthAndLockedByInterplanetary => GetInternalMassLimit() > 0 && IsLockedByInterplanetary; + public bool IsNearEarthAndLockedByInterplanetary => !dead && GetInternalMassLimit() > 0 && IsLockedByInterplanetary; /// /// The altitude threshold around home world above which interplanetary avionics is required.