diff --git a/Nasal/FMGC-b.nas b/Nasal/FMGC-b.nas index 711392da..75d5f991 100644 --- a/Nasal/FMGC-b.nas +++ b/Nasal/FMGC-b.nas @@ -561,7 +561,7 @@ setlistener("/it-autoflight/mode/lat", func { }); var toga_reduc = func { - if (getprop("/position/gear-agl-ft") >= getprop("/it-autoflight/settings/reduc-agl-ft")) { + if (getprop("/instrumentation/altimeter/indicated-altitude-ft") >= getprop("/it-autoflight/settings/reduc-agl-ft") and getprop("/gear/gear[1]/wow") == 0 and getprop("/gear/gear[2]/wow") == 0) { setprop("/it-autoflight/input/vert", 4); } }