Fairings doesn't jettison.
kpa23 opened this issue ยท 1 comments
ksp 1.6.1 + RO
Strange behaviour with fairings. They all have jettisoned flag set to True. and .jettison() method doesn't work. In-game clicking on "Jettison fairing" works ok.
import krpc
conn = krpc.connect(name='Test Fairings. RO mods')
vessel = conn.space_center.active_vessel
for _ in range(2):
fairings = [part for part in vessel.parts.with_tag('deployFairing')]
for fairing in fairings:
try:
print("Fairings ", fairing.fairing.part.name, fairing.fairing.jettisoned)
fairing.fairing.jettison()
except:
print("Error")