VOID_Core & VOID_EditorCore: Clear SimManager results when VesselSimulator is disabled.
[VOID.git] / VOID_Core.cs
blob:a/VOID_Core.cs -> blob:b/VOID_Core.cs
--- a/VOID_Core.cs
+++ b/VOID_Core.cs
@@ -484,6 +484,10 @@
 					Math.Pow(VOID_Core.Instance.vessel.Radius(), 2);
 				SimManager.TryStartSimulation();
 			}
+			else if (!this.vesselSimActive)
+			{
+				SimManager.ClearResults();
+			}
 
 			if (!this.guiRunning)
 			{