diff --git a/Nasal/FMGC-b.nas b/Nasal/FMGC-b.nas index 8de3b2a7..14a3f777 100644 --- a/Nasal/FMGC-b.nas +++ b/Nasal/FMGC-b.nas @@ -110,7 +110,7 @@ setlistener("/it-autoflight/input/ap1", func { fmabox(); updateTimers(); } else if (apmas == 1 and ac_ess >= 110 and law == 0) { - if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) { + if (getprop("/gear/gear[1]/wow") == 0 and getprop("/gear/gear[2]/wow") == 0 and getprop("/position/gear-agl-ft") >= 100) { if (getprop("/it-autoflight/output/lat") == 9) { setprop("/it-autoflight/input/lat", 3); } @@ -146,7 +146,7 @@ setlistener("/it-autoflight/input/ap2", func { fmabox(); updateTimers(); } else if (apmas == 1 and ac_ess >= 110 and law == 0) { - if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) { + if (getprop("/gear/gear[1]/wow") == 0 and getprop("/gear/gear[2]/wow") == 0 and getprop("/position/gear-agl-ft") >= 100) { if (getprop("/it-autoflight/output/lat") == 9) { setprop("/it-autoflight/input/lat", 3); } diff --git a/revision.txt b/revision.txt index 032fb5c3..da61b691 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4655 \ No newline at end of file +4656 \ No newline at end of file