From 18d91033792a9a90668d47583294ad92a16faf47 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 20 Sep 2017 23:21:11 -0400 Subject: [PATCH] A32X: Minor bugfixing --- AircraftConfig/acconfig.nas | 2 +- Models/Instruments/Upper-ECAM/Upper-ECAM.nas | 2 +- revision.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas index ee17ff7a..c67796b8 100644 --- a/AircraftConfig/acconfig.nas +++ b/AircraftConfig/acconfig.nas @@ -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) { diff --git a/Models/Instruments/Upper-ECAM/Upper-ECAM.nas b/Models/Instruments/Upper-ECAM/Upper-ECAM.nas index 92aeabf9..f568d482 100644 --- a/Models/Instruments/Upper-ECAM/Upper-ECAM.nas +++ b/Models/Instruments/Upper-ECAM/Upper-ECAM.nas @@ -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(); diff --git a/revision.txt b/revision.txt index c2a7108a..fc0a2447 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -1514 \ No newline at end of file +1515 \ No newline at end of file