Simulation processor fixes.
Simulation processor fixes.

--- a/KerbalEngineer/Flight/Readouts/Vessel/DeltaVStaged.cs
+++ b/KerbalEngineer/Flight/Readouts/Vessel/DeltaVStaged.cs
@@ -19,9 +19,11 @@
 

 #region Using Directives

 

+using KerbalEngineer.VesselSimulator;

+

+#endregion

 

 

-#endregion

 

 namespace KerbalEngineer.Flight.Readouts.Vessel

 {


--- a/KerbalEngineer/Flight/Readouts/Vessel/DeltaVTotal.cs
+++ b/KerbalEngineer/Flight/Readouts/Vessel/DeltaVTotal.cs
@@ -47,7 +47,7 @@
             if (SimulationProcessor.ShowDetails)

             {

                 this.showing = true;

-                this.DrawLine(SimManager.LastStage.totalDeltaV.ToString("N0") + "m/s");

+                this.DrawLine(SimulationProcessor.LastStage.totalDeltaV.ToString("N0") + "m/s");

             } else if (this.showing)

             {

                 this.showing = false;


--- a/KerbalEngineer/Flight/Readouts/Vessel/SimulationDelay.cs
+++ b/KerbalEngineer/Flight/Readouts/Vessel/SimulationDelay.cs
@@ -39,11 +39,6 @@
 

         public override void Draw()

         {

-            if (SimManager.LastStage == null)

-            {

-                return;

-            }

-

             GUILayout.BeginHorizontal();

             GUILayout.Label("Sim Delay", this.NameStyle);

             GUI.skin = HighLogic.Skin;


--- a/KerbalEngineer/Flight/Readouts/Vessel/SimulationProcessor.cs
+++ b/KerbalEngineer/Flight/Readouts/Vessel/SimulationProcessor.cs
@@ -43,6 +43,8 @@
         public void Update()

         {

             SimManager.RequestSimulation();

+            SimManager.TryStartSimulation();

+

             if (!SimManager.ResultsReady())

             {

                 return;


 Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ