From 0d95b0e766811f3d773fb82524be2f1dffa6dccc Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sat, 29 Dec 2018 12:33:20 -0500 Subject: [PATCH] System: Fix redudency --- Nasal/electrical.nas | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Nasal/electrical.nas b/Nasal/electrical.nas index e88070ac..b32d4a89 100644 --- a/Nasal/electrical.nas +++ b/Nasal/electrical.nas @@ -687,6 +687,7 @@ var ELEC = { setprop("/it-autoflight/input/ap2", 0); } setprop("systems/electrical/on", 0); + setprop("/systems/thrust/thr-locked", 0); setprop("/systems/electrical/outputs/adf", 0); setprop("/systems/electrical/outputs/audio-panel", 0); setprop("/systems/electrical/outputs/audio-panel[1]", 0); @@ -759,10 +760,6 @@ var ELEC = { setprop("/controls/lighting/overhead-panel-norm", getprop("/controls/lighting/overhead-panel-knb")); } - if (getprop("systems/electrical/on") == 0) { - setprop("/systems/thrust/thr-locked", 0); - } - setprop("/systems/electrical/ac1-src", ac1_src); setprop("/systems/electrical/ac2-src", ac2_src);