This commit is contained in:
commit
5990d0ad90
3 changed files with 3 additions and 2 deletions
|
@ -510,6 +510,7 @@ var latarms = func {
|
|||
if (getprop("/position/gear-agl-ft") >= 20) {
|
||||
if (getprop("/it-autoflight/input/lat-arm") == 1) {
|
||||
setprop("/it-autoflight/input/lat", getprop("/it-autoflight/input/lat-arm"));
|
||||
setprop("/it-autoflight/input/lat-arm", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -224,7 +224,7 @@ var phasecheck = maketimer(0.2, func {
|
|||
|
||||
if (getprop("/autopilot/route-manager/route/num") > 0 and getprop("/autopilot/route-manager/active") == 1 and getprop("/autopilot/route-manager/distance-remaining-nm") <= 15) {
|
||||
setprop("/FMGC/internal/decel", 1);
|
||||
} else {
|
||||
} else if (getprop("/FMGC/internal/decel") == 1 and phase != 5) {
|
||||
setprop("/FMGC/internal/decel", 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -286,7 +286,7 @@ var pagebutton = func(btn) {
|
|||
} else if (getprop("/FMGC/status/phase") == 3) {
|
||||
setprop("/MCDU[1]/page", "CRZ");
|
||||
} else if (getprop("/FMGC/status/phase") == 4) {
|
||||
setprop("/MCDU[0]/page", "DES");
|
||||
setprop("/MCDU[1]/page", "DES");
|
||||
}
|
||||
} else if (btn == "init") {
|
||||
setprop("/MCDU[1]/page", "INITA");
|
||||
|
|
Reference in a new issue