A3XX: Fix SEC3 not controlling Spoiler 1
This commit is contained in:
parent
c50f80197d
commit
1539f44be5
1 changed files with 4 additions and 0 deletions
|
@ -95,10 +95,14 @@ var update_loop = func {
|
||||||
|
|
||||||
if (sec3_sw and !sec3_fail and ac_ess >= 110) {
|
if (sec3_sw and !sec3_fail and ac_ess >= 110) {
|
||||||
setprop("/systems/fctl/sec3", 1);
|
setprop("/systems/fctl/sec3", 1);
|
||||||
|
setprop("/systems/failures/spoiler-l1", 0);
|
||||||
|
setprop("/systems/failures/spoiler-r1", 0);
|
||||||
setprop("/systems/failures/spoiler-l2", 0);
|
setprop("/systems/failures/spoiler-l2", 0);
|
||||||
setprop("/systems/failures/spoiler-r2", 0);
|
setprop("/systems/failures/spoiler-r2", 0);
|
||||||
} else {
|
} else {
|
||||||
setprop("/systems/fctl/sec3", 0);
|
setprop("/systems/fctl/sec3", 0);
|
||||||
|
setprop("/systems/failures/spoiler-l1", 1);
|
||||||
|
setprop("/systems/failures/spoiler-r1", 1);
|
||||||
setprop("/systems/failures/spoiler-l2", 1);
|
setprop("/systems/failures/spoiler-l2", 1);
|
||||||
setprop("/systems/failures/spoiler-r2", 1);
|
setprop("/systems/failures/spoiler-r2", 1);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue