Bugfix
This commit is contained in:
parent
f0a812d85f
commit
009c98832f
1 changed files with 5 additions and 5 deletions
|
@ -221,31 +221,31 @@ var messages_priority_3 = func {
|
||||||
}
|
}
|
||||||
|
|
||||||
# ENG FIRE
|
# ENG FIRE
|
||||||
if (eng1FireFlAgent2.clearFlag == 0 and getprop("/systems/failures/engine-left-fire") == 1 and phaseVar >= 5 and phaseVar <= 7) {
|
if (eng1FireFlAgent2.clearFlag == 0 and getprop("/systems/fire/engine1/warning-active") == 1 and phaseVar >= 5 and phaseVar <= 7) {
|
||||||
eng1FireFl.active = 1;
|
eng1FireFl.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng1FireFl);
|
ECAM_controller.warningReset(eng1FireFl);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng1FireGnevacBat.clearFlag == 0 and getprop("/systems/failures/engine-left-fire") == 1 and (phaseVar < 5 or phaseVar > 7)) {
|
if (eng1FireGnevacBat.clearFlag == 0 and getprop("/systems/fire/engine1/warning-active") == 1 and (phaseVar < 5 or phaseVar > 7)) {
|
||||||
eng1FireGn.active = 1;
|
eng1FireGn.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng1FireGn);
|
ECAM_controller.warningReset(eng1FireGn);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng2FireFlAgent2.clearFlag == 0 and getprop("/systems/failures/engine-right-fire") == 1 and phaseVar >= 5 and phaseVar <= 7) {
|
if (eng2FireFlAgent2.clearFlag == 0 and getprop("/systems/fire/engine2/warning-active") == 1 and phaseVar >= 5 and phaseVar <= 7) {
|
||||||
eng2FireFl.active = 1;
|
eng2FireFl.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng2FireFl);
|
ECAM_controller.warningReset(eng2FireFl);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng2FireGnevacBat.clearFlag == 0 and getprop("/systems/failures/engine-right-fire") == 1 and (phaseVar < 5 or phaseVar > 7)) {
|
if (eng2FireGnevacBat.clearFlag == 0 and getprop("/systems/fire/engine2/warning-active") == 1 and (phaseVar < 5 or phaseVar > 7)) {
|
||||||
eng2FireGn.active = 1;
|
eng2FireGn.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng2FireGn);
|
ECAM_controller.warningReset(eng2FireGn);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (apuFireMaster.clearFlag == 0 and getprop("/systems/failures/apu-fire") == 1) {
|
if (apuFireMaster.clearFlag == 0 and getprop("/systems/fire/apu/warning-active") == 1) {
|
||||||
apuFire.active = 1;
|
apuFire.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(apuFire);
|
ECAM_controller.warningReset(apuFire);
|
||||||
|
|
Reference in a new issue