dkavolis / Ferram-Aerospace-Research

Aerodynamics model for Kerbal Space Program
Other
80 stars 32 forks source link

Space bar arms parachutes while stage lock on, even if something else has keyboard focus. #66

Closed evanrinehart closed 5 years ago

evanrinehart commented 5 years ago

KSP 1.7.0 or KSP 1.7.1 FAR 0.15.10.1 ModularFlightIntegrator 1.2.6

Situation: while trying to run a kOS program while a plane is taking off, typing the space bar seems to deploy the drag chutes early. The drag chutes are the next stage. While typing into kOS stage lock is on and keyboard should not be affecting anything else.

After uninstalling everything, including kOS, having only FAR, module manager, and ModularFlightIntegrator installed, I noticed that if parachutes are in the next stage then space bar will arm them regardless of stage lock. This has obvious downsides when trying to take off from a runway.

dkavolis commented 5 years ago

Can you check that #68 fixes this?

evanrinehart commented 5 years ago

I just tested the modified DLL and it seems to fix the above problems. Staging parachutes still works as expected when you want it to.