diff --git a/MechJeb2/MechJebModuleStageStats.cs b/MechJeb2/MechJebModuleStageStats.cs index df680f534..9c4cc3268 100644 --- a/MechJeb2/MechJebModuleStageStats.cs +++ b/MechJeb2/MechJebModuleStageStats.cs @@ -76,6 +76,8 @@ private void GetResults() else { Debug.Log("[MechJebModuleStageStats] atmo stats failed"); + if (_vesselManagerAtmo.FuelFlowSimulation.Exception != null) + Debug.Log(_vesselManagerAtmo.FuelFlowSimulation.Exception); } if (!_vesselManagerAtmo.FuelFlowSimulation.TryMarkReady()) @@ -98,10 +100,12 @@ private void GetResults() else { Debug.Log("[MechJebModuleStageStats] vac stats failed"); + if (_vesselManagerVac.FuelFlowSimulation.Exception != null) + Debug.Log(_vesselManagerVac.FuelFlowSimulation.Exception); } if (!_vesselManagerVac.FuelFlowSimulation.TryMarkReady()) - throw new Exception("[MechJebModuleStageStats] Tried to mark a running vcc stage stats as ready."); + throw new Exception("[MechJebModuleStageStats] Tried to mark a running vac stage stats as ready."); } } diff --git a/MechJebLib/FuelFlowSimulation/FuelFlowSimulation.cs b/MechJebLib/FuelFlowSimulation/FuelFlowSimulation.cs index ed6db6d56..96cfc4428 100644 --- a/MechJebLib/FuelFlowSimulation/FuelFlowSimulation.cs +++ b/MechJebLib/FuelFlowSimulation/FuelFlowSimulation.cs @@ -15,7 +15,7 @@ namespace MechJebLib.FuelFlowSimulation { public class FuelFlowSimulation : AsyncJob { - private const int MAXSTEPS = 100; + private const int MAXSTEPS = 10_000; public readonly List Segments = new List(); private FuelStats _currentSegment;