A3XX: Fix FBW reverting to DIRECT from ALTN even if APs are on

This commit is contained in:
Joshua Davidson 2017-07-10 20:07:38 -04:00
parent 71d0ca48a0
commit 4992797c6f

View file

@ -152,7 +152,7 @@ var update_loop = func {
}
}
if (getprop("/controls/gear/gear-down") == 1) {
if (getprop("/controls/gear/gear-down") == 1 and getprop("/it-autoflight/output/ap1") == 0 and getprop("/it-autoflight/output/ap2") == 0) {
if (law == 1) {
setprop("/it-fbw/degrade-law", 2);
}