Skip to content

Commit

Permalink
Update VesselState.cs
Browse files Browse the repository at this point in the history
There's a bug reported MuMech#1860  where RCS keeps turning on when unwanted for non-Real Fuels users and requires turning off AutoRCSUllaging. This may be enough to fix it but this could use other sanity checks elsewhere. Also, RCS ullaging should either

* Check for Core.Attitude.RCS_auto = true or else don't enable RCS!
* Put in code to turn RCS back off when ullaging is completed.
  • Loading branch information
Starwaster authored Mar 21, 2024
1 parent 1236845 commit d1c0220
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MechJeb2/VesselState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,8 @@ public class EngineInfo
public readonly Vector6 torqueDiffThrottle = new Vector6();

// lowestUllage is always VeryStable without RealFuels installed
public double lowestUllage;
// Don't wait for Update, set it now so we don't invite a race condition.
public double lowestUllage = 1.0;

public struct FuelRequirement
{
Expand Down

0 comments on commit d1c0220

Please sign in to comment.