A3XX: Lock INITB when eng running, issue #80
This commit is contained in:
parent
103c0d0ce5
commit
90045bfa8a
3 changed files with 7 additions and 3 deletions
|
@ -335,7 +335,9 @@ var arrowbutton = func(btn) {
|
|||
setprop("/MCDU[0]/page", "DATA");
|
||||
}
|
||||
if (getprop("/MCDU[0]/page") == "INITA") {
|
||||
if (getprop("/engines/engine[0]/state") != 3 and getprop("/engines/engine[1]/state") != 3) {
|
||||
setprop("/MCDU[0]/page", "INITB");
|
||||
}
|
||||
} else if (getprop("/MCDU[0]/page") == "INITB") {
|
||||
setprop("/MCDU[0]/page", "INITA");
|
||||
}
|
||||
|
|
|
@ -333,7 +333,9 @@ var arrowbutton = func(btn) {
|
|||
setprop("/MCDU[1]/page", "DATA");
|
||||
}
|
||||
if (getprop("/MCDU[1]/page") == "INITA") {
|
||||
if (getprop("/engines/engine[0]/state") != 3 and getprop("/engines/engine[1]/state") != 3) {
|
||||
setprop("/MCDU[1]/page", "INITB");
|
||||
}
|
||||
} else if (getprop("/MCDU[1]/page") == "INITB") {
|
||||
setprop("/MCDU[1]/page", "INITA");
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
3052
|
||||
3053
|
Reference in a new issue