dkavolis / Ferram-Aerospace-Research

Aerodynamics model for Kerbal Space Program
Other
77 stars 32 forks source link

Fix submergedDynamicPressurekPa and dynamicPressurekPa not getting set to 0 when part becomes shielded #145

Closed siimav closed 1 year ago

siimav commented 1 year ago

Stock MFI will always set these fields to 0 at the start of UpdateAerodynamics whereas the override in FAR does not. This in turn will cause a bug where the values will stay high forever if the part changes shielded state from false to true.

Ref to how I found the issue: https://discord.com/channels/319857228905447436/1115321536807718992/1122910160080347176