Mihara / RasterPropMonitor

Plugin for Kerbal Space Program. This repository is out of date and is primarily of historic interest. See https://github.com/JonnyOThan/RasterPropMonitor
http://forum.kerbalspaceprogram.com/threads/57603
Other
116 stars 67 forks source link

Vessel crew update refactor #568

Closed MOARdV closed 8 years ago

MOARdV commented 8 years ago

onVesselCrewWasModified is new to KSP 1.1.3 - I need to see if it is adequate for maintaining crew lists both per-pod and per-vessel without the current polling mechanism.

MOARdV commented 8 years ago

It's not perfect ... the kerbalExpressionSystem value seems to get null'd some time between when the callback fires and when the evaluator attempts to read it, so I still have polling on that value (although I do use GetComponentCached<>() now, so hopefully that'll be less costly.