Fix to-memo again!
This commit is contained in:
parent
72855269e0
commit
99c29809c5
2 changed files with 3 additions and 2 deletions
|
@ -423,6 +423,7 @@ var takeoff = func {
|
||||||
libraries.flaptimer.start();
|
libraries.flaptimer.start();
|
||||||
setprop("/controls/flight/elevator-trim", -0.07);
|
setprop("/controls/flight/elevator-trim", -0.07);
|
||||||
systems.arm_autobrake(3);
|
systems.arm_autobrake(3);
|
||||||
|
libraries.ECAM.toConfig();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,7 +162,7 @@ var ECAM = {
|
||||||
setprop("/ECAM/right-msg", "NONE");
|
setprop("/ECAM/right-msg", "NONE");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getprop("/controls/autobrake/mode") == 3 and getprop("/controls/switches/no-smoking-sign") == 1 and getprop("/controls/switches/seatbelt-sign") == 1 and getprop("/controls/flight/speedbrake-arm") == 1 and getprop("/controls/flight/flap-pos") > 0
|
if (getprop("/controls/autobrake/mode") == 3 and getprop("/controls/lighting/no-smoking-sign") == 1 and getprop("/controls/lighting/seatbelt-sign") == 1 and getprop("/controls/flight/speedbrake-arm") == 1 and getprop("/controls/flight/flap-pos") > 0
|
||||||
and getprop("/controls/flight/flap-pos") < 5) {
|
and getprop("/controls/flight/flap-pos") < 5) {
|
||||||
# Do nothing
|
# Do nothing
|
||||||
} else {
|
} else {
|
||||||
|
@ -235,7 +235,7 @@ var ECAM = {
|
||||||
setprop("/ECAM/engine-start-time", getprop("/ECAM/engine-start-time") - 120);
|
setprop("/ECAM/engine-start-time", getprop("/ECAM/engine-start-time") - 120);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getprop("/controls/autobrake/mode") == 3 and getprop("/controls/switches/no-smoking-sign") == 1 and getprop("/controls/switches/seatbelt-sign") == 1 and getprop("/controls/flight/speedbrake-arm") == 1 and getprop("/controls/flight/flap-pos") > 0
|
if (getprop("/controls/autobrake/mode") == 3 and getprop("/controls/lighting/no-smoking-sign") == 1 and getprop("/controls/lighting/seatbelt-sign") == 1 and getprop("/controls/flight/speedbrake-arm") == 1 and getprop("/controls/flight/flap-pos") > 0
|
||||||
and getprop("/controls/flight/flap-pos") < 5) {
|
and getprop("/controls/flight/flap-pos") < 5) {
|
||||||
setprop("/ECAM/to-config", 1);
|
setprop("/ECAM/to-config", 1);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue