Now limiting the simulation period of SimManager to once per VOID update.
[VOID.git] / VOID_Core.cs
blob:a/VOID_Core.cs -> blob:b/VOID_Core.cs
--- a/VOID_Core.cs
+++ b/VOID_Core.cs
@@ -491,6 +491,7 @@
 				double radius = this.vessel.Radius();
 				SimManager.Gravity = this.vessel.mainBody.gravParameter /
 					(radius * radius);
+				SimManager.minSimTime = (long)(this.updatePeriod * 1000);
 				SimManager.TryStartSimulation();
 			}
 			else if (!this.vesselSimActive)