From acef146550ae19a82e857603352f5cf888c2d64c Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 14 Jun 2017 16:39:31 -0400 Subject: [PATCH] A3XX: FMGC: Fix not resetting if cruise altitude not reached --- Nasal/FMGC.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/FMGC.nas b/Nasal/FMGC.nas index 4d663665..e0f2964e 100644 --- a/Nasal/FMGC.nas +++ b/Nasal/FMGC.nas @@ -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");