Skip to content

Commit

Permalink
Fix node executor ullage
Browse files Browse the repository at this point in the history
should allow people to manually ullage and should now check for the
proper boolean and actually do RCS ullage in the LEAD time state for
you.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed Nov 7, 2023
1 parent b37673f commit 3b4e45a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions MechJeb2/MechJebModuleNodeExecutor.cs
Expand Up @@ -134,9 +134,7 @@ private void DoRCS(FlightCtrlState s)
if (State != States.LEAD || RCSOnly)
return;

s.Z = 0.0F;

if (!Core.Thrust.LimitToPreventUnstableIgnition || VesselState.lowestUllage == VesselState.UllageState.VeryStable)
if (!Core.Thrust.AutoRCSUllaging || VesselState.lowestUllage == VesselState.UllageState.VeryStable)
return;

if (!Vessel.hasEnabledRCSModules())
Expand Down

0 comments on commit 3b4e45a

Please sign in to comment.