diff --git a/Source/USITools/EnginesAndTanks/USI_PulseDrive.cs b/Source/USITools/EnginesAndTanks/USI_PulseDrive.cs index fbb00ee..4216922 100644 --- a/Source/USITools/EnginesAndTanks/USI_PulseDrive.cs +++ b/Source/USITools/EnginesAndTanks/USI_PulseDrive.cs @@ -189,7 +189,7 @@ public override void OnFixedUpdate() atmoModifier = (float)Math.Max(0, 1d - vessel.atmDensity); var thrustAmount = (float) (currentThrust*pulseCurve.Evaluate(curveTime)) * atmoModifier; - part.GetComponent().AddForceAtPosition(-t.forward * thrustAmount, t.position, ForceMode.Force); + part.AddForceAtPosition(-t.forward * thrustAmount, t.position, ForceMode.Force); part.AddThermalFlux(thrustAmount * heatMultiplier); } }