Minor tweaks for exp updates not yet caught by Padishar
Minor tweaks for exp updates not yet caught by Padishar

--- a/EngineSim.cs
+++ b/EngineSim.cs
@@ -201,8 +201,8 @@
             for (int i = 0; i < thrustTransforms.Count; i++)
             {
                 Transform thrustTransform = thrustTransforms[i];
-                Vector3 direction = thrustTransform.forward.normalized;
-                Vector3 position = thrustTransform.position;
+                Vector3d direction = thrustTransform.forward.normalized;
+                Vector3d position = thrustTransform.position;
 
                 AppliedForce appliedForce = AppliedForce.New(direction * engineSim.thrust * thrustTransformMultipliers[i], position);
                 engineSim.appliedForces.Add(appliedForce);

file:a/PartSim.cs -> file:b/PartSim.cs
--- a/PartSim.cs
+++ b/PartSim.cs
@@ -150,7 +150,7 @@
                 }
             }
 
-            partSim.fairingMass = partSim.part.GetModule<ModuleProceduralFairing>()?.GetModuleMass(partSim.part.mass) ?? 0.0f;
+            partSim.fairingMass = partSim.part.GetModule<ModuleProceduralFairing>()?.GetModuleMass(partSim.part.mass, ModifierStagingSituation.CURRENT) ?? 0.0f;
 
             for (int i = 0; i < partSim.part.Resources.Count; i++)
             {