A3XX: FMGC: Fix Stuck LAT lights on FCU

This commit is contained in:
Joshua Davidson 2017-07-21 17:37:45 -04:00
parent 3403b39949
commit 4bc1a88e7c

View file

@ -510,6 +510,7 @@ var latarms = func {
if (getprop("/position/gear-agl-ft") >= 20) { if (getprop("/position/gear-agl-ft") >= 20) {
if (getprop("/it-autoflight/input/lat-arm") == 1) { if (getprop("/it-autoflight/input/lat-arm") == 1) {
setprop("/it-autoflight/input/lat", getprop("/it-autoflight/input/lat-arm")); setprop("/it-autoflight/input/lat", getprop("/it-autoflight/input/lat-arm"));
setprop("/it-autoflight/input/lat-arm", 0);
} }
} }
} }