me is stupido

This commit is contained in:
legoboyvdlp R 2019-07-27 16:11:30 +01:00
parent 933914c732
commit b3b29207fa

View file

@ -689,7 +689,7 @@ setlistener("/controls/fire/test-btn-2", func() {
setlistener("/controls/fire/apu-test-btn", func() { setlistener("/controls/fire/apu-test-btn", func() {
if (getprop("/systems/failures/apu-fire")) { return; } if (getprop("/systems/failures/apu-fire")) { return; }
if (cargoTestBtn.getValue() == 1) { if (apuTestBtn.getValue() == 1) {
if (dcbatNode.getValue() > 25 or dcessNode.getValue() > 25) { if (dcbatNode.getValue() > 25 or dcessNode.getValue() > 25) {
apuFireWarn.setBoolValue(1); apuFireWarn.setBoolValue(1);
} }