A32X: Minor bugfixing
This commit is contained in:
parent
99f52d3af5
commit
18d9103379
3 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ setlistener("/systems/acconfig/new-revision", func {
|
|||
});
|
||||
|
||||
var mismatch_chk = func {
|
||||
if (num(string.replace(getprop("/sim/version/flightgear"),".","")) < 201731) {
|
||||
if (num(string.replace(getprop("/sim/version/flightgear"),".","")) < 201741) {
|
||||
setprop("/systems/acconfig/mismatch-code", "0x121");
|
||||
setprop("/systems/acconfig/mismatch-reason", "FGFS version older than 2017.3.1, please update FlightGear");
|
||||
if (getprop("/systems/acconfig/out-of-date") != 1) {
|
||||
|
|
|
@ -50,7 +50,7 @@ var canvas_upperECAM_base = {
|
|||
return [];
|
||||
},
|
||||
update: func() {
|
||||
if (getprop("/systems/electrical/bus/ac1") >= 110 or getprop("/systems/electrical/bus/ac2") >= 110) {
|
||||
if ((getprop("/systems/electrical/bus/ac1") >= 110 or getprop("/systems/electrical/bus/ac2") >= 110) and getprop("/controls/electrical/switches/emer-gen") != 1) {
|
||||
if (getprop("/options/eng") == "CFM" and getprop("/options/EIS2") == 0) {
|
||||
upperECAM_cfm_eis1.page.show();
|
||||
upperECAM_cfm_eis2.page.hide();
|
||||
|
|
|
@ -1 +1 @@
|
|||
1514
|
||||
1515
|
Reference in a new issue