A3XX: Bugfix something in electrical
This commit is contained in:
parent
024b8f37e1
commit
4e01fc6ea2
2 changed files with 7 additions and 3 deletions
|
@ -441,8 +441,12 @@ var master_elec = func {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getprop("/systems/electrical/bus/ac-ess") < 110) {
|
if (getprop("/systems/electrical/bus/ac-ess") < 110) {
|
||||||
|
if (getprop("/it-autoflight/output/ap1") == 1) {
|
||||||
setprop("/it-autoflight/input/ap1", 0);
|
setprop("/it-autoflight/input/ap1", 0);
|
||||||
|
}
|
||||||
|
if (getprop("/it-autoflight/output/ap2") == 1) {
|
||||||
setprop("/it-autoflight/input/ap2", 0);
|
setprop("/it-autoflight/input/ap2", 0);
|
||||||
|
}
|
||||||
setprop("systems/electrical/on", 0);
|
setprop("systems/electrical/on", 0);
|
||||||
# ai_spin.setValue(0.2);
|
# ai_spin.setValue(0.2);
|
||||||
# aispin.stop();
|
# aispin.stop();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
3043
|
3044
|
Reference in a new issue