A3XX: Fix FMGC decel bug

This commit is contained in:
Joshua Davidson 2017-07-21 18:13:10 -04:00
parent 4bc1a88e7c
commit c45209e74a

View file

@ -224,7 +224,7 @@ var phasecheck = maketimer(0.2, func {
if (getprop("/autopilot/route-manager/route/num") > 0 and getprop("/autopilot/route-manager/active") == 1 and getprop("/autopilot/route-manager/distance-remaining-nm") <= 15) {
setprop("/FMGC/internal/decel", 1);
} else {
} else if (getprop("/FMGC/internal/decel") == 1 and phase != 5) {
setprop("/FMGC/internal/decel", 0);
}