diff --git a/Nasal/FMGC/FMGC.nas b/Nasal/FMGC/FMGC.nas index 3426e912..828842a5 100644 --- a/Nasal/FMGC/FMGC.nas +++ b/Nasal/FMGC/FMGC.nas @@ -809,7 +809,7 @@ var switchDatabase = func { # Landing to phase 7 setlistener("gear/gear[1]/wow", func() { - if (timer30secLanding.isRunning) { + if (getprop("gear/gear[1]/wow") == 0 and timer30secLanding.isRunning) { timer30secLanding.stop(); setprop("FMGC/internal/landing-time", -99); } @@ -850,7 +850,7 @@ setlistener("systems/navigation/adr/operating-3", func() { timer48gpsAlign3.stop(); } - if (getprop("gear/gear[1]/wow") == 1 and getprop("FMGC/internal/align3-time") == -99) { + if (getprop("FMGC/internal/align3-time") == -99) { timer48gpsAlign3.start(); setprop("FMGC/internal/align3-time", pts.Sim.Time.elapsedSec.getValue()); }