JPLRepo / AmpYear

A KSP plugin that better manages electricity adds Reserve Power, ION & PPT RCS. See the ReadMe file below for dependencies.
7 stars 6 forks source link

RTWrapper is broken with latest RT version #54

Closed YamoriYuki closed 7 years ago

YamoriYuki commented 7 years ago

In latest version(s) of RemoteTech AmpYear fails to load RTSettings instance. This is caused by serious code cleanup, where the private field mInstance read by RTWrapper was renamed. There is a public property Instance that should be used. Also, ModuleRTAntenna will be implementing IResourceConsumer in the next bugfix version of RT, like any stock module consuming resources, so you should be able to handle RT antennas the same way you handle lights, once it's released.

JPLRepo commented 7 years ago

Thanks. I'll take a look one of these years. Pretty sure I was using mInstance because there wasn't a public one at some stage.. but I could be completely wrong on that one.