ChrisViral / RealChute

Realistic parachutes for KSP
47 stars 38 forks source link

minPressure value not saving/persisting. #8

Closed RodrigoLegendre closed 10 years ago

RodrigoLegendre commented 10 years ago

The 0.24.* update seems to have broken the persistence for the minPressure parameter.

If you configure a chute for pressure-based deployment, and set a value for minPressure, from the ActionGroup menu (including the use of presets), and then proceed to launch the craft, if you check the chute's info panel (using the context menu) on the launchpad, you can see the value has returned to the standard of "0.01". And upon actual launch and testing, the behavior is indeed that of "0.01", and confirms it's not just an UI problem.

If you change the value using the "info" context-menu on the launch-pad, the value (and behavior) gets updated to the new set value and persists (normal expected behavior). So the values set in the VAB are being lost (replaced by 0.01) on the transition to the launch pad. If you go back to the VAB after the mission, the value is the one you have set before launching. So it's persisting on the VAB, but not for the actual gameplay.

My info: KSP Version: 0.24.2 64-bit Mod version: 1.2.2.2 Other mods: Tested this with just ModuleManager (latest) and RealChutes (latest).

ChrisViral commented 10 years ago

Fixed, was a typo in Parachute.cs