A3XX: Bugfix something in electrical

This commit is contained in:
Joshua Davidson 2017-11-02 17:08:08 -04:00
parent 024b8f37e1
commit 4e01fc6ea2
2 changed files with 7 additions and 3 deletions

View file

@ -441,8 +441,12 @@ var master_elec = func {
}
if (getprop("/systems/electrical/bus/ac-ess") < 110) {
setprop("/it-autoflight/input/ap1", 0);
setprop("/it-autoflight/input/ap2", 0);
if (getprop("/it-autoflight/output/ap1") == 1) {
setprop("/it-autoflight/input/ap1", 0);
}
if (getprop("/it-autoflight/output/ap2") == 1) {
setprop("/it-autoflight/input/ap2", 0);
}
setprop("systems/electrical/on", 0);
# ai_spin.setValue(0.2);
# aispin.stop();

View file

@ -1 +1 @@
3043
3044