In theory fixes apu fire test. In practice who knows?
This commit is contained in:
parent
819a75ed55
commit
3c98ff0ace
1 changed files with 2 additions and 4 deletions
|
@ -691,12 +691,10 @@ 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 (cargoTestBtn.getValue() == 1) {
|
||||||
if (dcbatNode.getValue() > 25 or dcessNode.getValue() > 25) {
|
if (dcbatNode.getValue() > 25 or dcessNode.getValue() > 25) {
|
||||||
fwdCargoFireWarn.setBoolValue(1);
|
apuFireWarn.setBoolValue(1);
|
||||||
aftCargoFireWarn.setBoolValue(1);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fwdCargoFireWarn.setBoolValue(0);
|
apuFireWarn.setBoolValue(0);
|
||||||
aftCargoFireWarn.setBoolValue(0);
|
|
||||||
ecam.shutUpYou();
|
ecam.shutUpYou();
|
||||||
}
|
}
|
||||||
}, 0, 0);
|
}, 0, 0);
|
||||||
|
|
Reference in a new issue