1
0
Fork 0

Bugfix FMGC

This commit is contained in:
legoboyvdlp R 2020-04-16 17:43:49 +01:00 committed by Jonathan Redpath
parent 844f066cc5
commit ef8468f261

View file

@ -814,12 +814,12 @@ setlistener("gear/gear[1]/wow", func() {
}
if (getprop("gear/gear[1]/wow") == 1 and getprop("FMGC/internal/landing-time") == -99) {
timer30secLandingstart();
timer30secLanding.start();
setprop("FMGC/internal/landing-time", pts.Sim.Time.elapsedSec.getValue());
}
}, 0, 0);
var timer30secLandingstart = maketimer(0.1, func() {
var timer30secLandingstart = maketimer(1, func() {
if (pts.Sim.Time.elapsedSec.getValue() > getprop("FMGC/internal/landing-time") + 30) {
setprop("FMGC/status/phase", 7);
setprop("FMGC/internal/landing-time", -99);