A3XX: Fix SEC3 not controlling Spoiler 1

This commit is contained in:
Joshua Davidson 2017-07-08 17:28:33 -04:00
parent c50f80197d
commit 1539f44be5

View file

@ -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);
} }