Bugfix clear light
This commit is contained in:
parent
53fc5be5eb
commit
e419c46060
1 changed files with 4 additions and 0 deletions
|
@ -299,6 +299,8 @@ var LowerECAM = {
|
|||
#call status
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (getprop("/ECAM/Lower/fault-select") == 0) {
|
||||
if (b != "clr") {
|
||||
if (!man_sel) {
|
||||
|
@ -316,6 +318,8 @@ var LowerECAM = {
|
|||
setprop("/ECAM/Lower/light/" ~ b, 1);
|
||||
}
|
||||
}
|
||||
} elsif (getprop("/ECAM/Lower/light/clr") == 1) {
|
||||
setprop("/ECAM/Lower/light/clr", 0);
|
||||
}
|
||||
} else {
|
||||
if (b == "clr") {
|
||||
|
|
Reference in a new issue