RemoteTechnologiesGroup / RemoteTech

Community developed continuation of Kerbal Space Program's RemoteTech mod.
http://remotetechnologiesgroup.github.io/RemoteTech
GNU General Public License v2.0
233 stars 102 forks source link

Update to use triggered flag on science data #733

Closed DMagic1 closed 7 years ago

DMagic1 commented 7 years ago

This checks for the triggered flag before creating the commStream. If the commStream is left null then the process skips the part about pushing data to the R&D center. Instead, after transmission is completed the triggered data transmission event is fired.

An additional bool is added for aborted transmissions, so that the triggered data event can send the correct arguments.

KSP-TaxiService commented 7 years ago

Many thanks for this PR! I verify the changes work well in the following scenarios:

It seems the partial transmission attribute of an antenna is hidden/disabled in RT.