From 1539f44be50490978edfa3824f70e9e207b1fe58 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sat, 8 Jul 2017 17:28:33 -0400 Subject: [PATCH] A3XX: Fix SEC3 not controlling Spoiler 1 --- Nasal/it-fbw.nas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Nasal/it-fbw.nas b/Nasal/it-fbw.nas index 2a0e2760..fc982440 100644 --- a/Nasal/it-fbw.nas +++ b/Nasal/it-fbw.nas @@ -95,10 +95,14 @@ var update_loop = func { if (sec3_sw and !sec3_fail and ac_ess >= 110) { 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-r2", 0); } else { 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-r2", 1); }