From d762002b72a65832702fe1dae8f90912d04c767d Mon Sep 17 00:00:00 2001 From: Marsdolphin <60767981+Marsdolphin@users.noreply.github.com> Date: Sun, 6 Sep 2020 11:33:20 +0800 Subject: [PATCH] Oops --- Nasal/engines.nas | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Nasal/engines.nas b/Nasal/engines.nas index f13791e..41eaa9c 100644 --- a/Nasal/engines.nas +++ b/Nasal/engines.nas @@ -32,12 +32,11 @@ Engines.autostart = func { } Engines.shutdown = func { + setprop('/controls/engines/engine[0]/cutoff',1); + setprop('/controls/engines/engine[1]/cutoff',1); + } if ( ! getprop('/controls/engines/engine[0]/cutoff',1) ) { setprop('system/electrical/outputs/efis', 0); - } - if ( ! getprop('/controls/engines/engine[0]/cutoff',1) ) { - setprop('system/electrical/outputs/efis', 0); - } } Engines.schedule = func {