From 15b0d81576f5b50778c42060542b9c135ed4ce6b Mon Sep 17 00:00:00 2001 From: legoboyvdlp R <legoboyvdlp@gmail.com> Date: Mon, 30 Dec 2019 21:24:28 +0000 Subject: [PATCH] FBW: fix stupid bug --- Nasal/FBW/it-fbw.nas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Nasal/FBW/it-fbw.nas b/Nasal/FBW/it-fbw.nas index af4865da..4effaa00 100644 --- a/Nasal/FBW/it-fbw.nas +++ b/Nasal/FBW/it-fbw.nas @@ -179,7 +179,7 @@ var update_loop = func { FBW.Lights.elac2.setValue(1); } - if (sec1_sw and !sec1_fail and dc_ess >= 110) { + if (sec1_sw and !sec1_fail and dc_ess >= 25) { setprop("/systems/fctl/sec1", 1); setprop("/systems/failures/spoiler-l3", 0); setprop("/systems/failures/spoiler-r3", 0); @@ -193,7 +193,7 @@ var update_loop = func { setprop("/systems/failures/spoiler-r4", 1); } - if (sec2_sw and !sec2_fail and dc2 >= 110) { + if (sec2_sw and !sec2_fail and dc2 >= 25) { setprop("/systems/fctl/sec2", 1); setprop("/systems/failures/spoiler-l5", 0); setprop("/systems/failures/spoiler-r5", 0); @@ -203,7 +203,7 @@ var update_loop = func { setprop("/systems/failures/spoiler-r5", 1); } - if (sec3_sw and !sec3_fail and dc2 >= 110) { + if (sec3_sw and !sec3_fail and dc2 >= 25) { setprop("/systems/fctl/sec3", 1); setprop("/systems/failures/spoiler-l1", 0); setprop("/systems/failures/spoiler-r1", 0);