A3XX: FMGC: Fix not resetting if cruise altitude not reached

This commit is contained in:
Joshua Davidson 2017-06-14 16:39:31 -04:00
parent 8b32a060de
commit acef146550

View file

@ -151,7 +151,7 @@ var phasecheck = maketimer(0.2, func {
setprop("/FMGC/status/phase", "2");
}
if ((wowl and wowr) and (gs < 20) and (phase == "5")) {
if ((wowl and wowr) and (gs < 20) and (phase == "2" or phase == "3" or phase == "4" or phase == "5" or phase == "6")) {
setprop("/FMGC/status/phase", "7");
var fd1 = getprop("/it-autoflight/input/fd1");
var fd2 = getprop("/it-autoflight/input/fd2");