KSP-RO / RealFuels

Modular fuel tanks and engines, with real fuels and realistic performance.
54 stars 66 forks source link

Handle PAW Field Caching #256

Closed DRVeyl closed 3 years ago

DRVeyl commented 3 years ago

Fixes #255 KSP after 1.8 is cacheing more PAW fields. In 1.10, the created event buttons hang around and don't get cleared by PAW creation, only by refresh. Catch the PAW show event and request a refresh if one is requested. Refactor UpdateUsedBy a little. Every tank PartModule iterating over every vessel PartModule to build the UsedBy mapping may need analysis