A32X: Minor bugfixing

This commit is contained in:
Joshua Davidson 2017-09-20 23:21:11 -04:00
parent 99f52d3af5
commit 18d9103379
3 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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();

View file

@ -1 +1 @@
1514
1515