GIT: Merge master

This commit is contained in:
Joshua Davidson 2018-11-07 18:27:29 -05:00
commit 09d5eea23c
4 changed files with 1657 additions and 619 deletions

View file

@ -94,7 +94,7 @@ var canvas_MCDU_base = {
"PERFTO_V2","PERFTO_FE","PERFTO_SE","PERFTO_OE"]; "PERFTO_V2","PERFTO_FE","PERFTO_SE","PERFTO_OE"];
}, },
update: func() { update: func() {
if (getprop("/systems/electrical/bus/ac1") >= 110) { if (getprop("/systems/electrical/bus/ac1") >= 110 and getprop("/controls/lighting/DU/mcdu1") > 0.01) {
MCDU_1.update(); MCDU_1.update();
MCDU_1.updateFast(); MCDU_1.updateFast();
updateL = 1; updateL = 1;
@ -103,7 +103,7 @@ var canvas_MCDU_base = {
updateL = 0; updateL = 0;
MCDU_1.page.hide(); MCDU_1.page.hide();
} }
if (getprop("/systems/electrical/bus/ac2") >= 110) { if (getprop("/systems/electrical/bus/ac2") >= 110 and getprop("/controls/lighting/DU/mcdu2") > 0.01) {
MCDU_2.update(); MCDU_2.update();
MCDU_2.updateFast(); MCDU_2.updateFast();
updateR = 1; updateR = 1;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
4692 4693