Added extra new parameter to the IPartXXXModifier calls.
Added extra new parameter to the IPartXXXModifier calls.
Just passes CURRENT for now, will need to be modified further to correctly handle pre/post staging cost and mass.

--- a/KerbalEngineer/Extensions/PartExtensions.cs
+++ b/KerbalEngineer/Extensions/PartExtensions.cs
@@ -100,7 +100,7 @@
             {
                 PartModule pm = part.Modules[i];
                 if (pm is IPartCostModifier)
-                    cost += (pm as IPartCostModifier).GetModuleCost(defaultCost);
+                    cost += (pm as IPartCostModifier).GetModuleCost(defaultCost, ModifierStagingSituation.CURRENT);
             }
             return cost;
         }

--- a/KerbalEngineer/VesselSimulator/PartSim.cs
+++ b/KerbalEngineer/VesselSimulator/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++)
             {