From 6174cad6f5db96c721af947bc3ac39d863c14a35 Mon Sep 17 00:00:00 2001 From: Joshua Davidson <joshuadavidson2000@gmail.com> Date: Tue, 4 Jul 2017 16:10:50 -0400 Subject: [PATCH] A3XX: Fix Manual Start --- Nasal/engines.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nasal/engines.nas b/Nasal/engines.nas index 413b901e..e6b73986 100644 --- a/Nasal/engines.nas +++ b/Nasal/engines.nas @@ -44,9 +44,9 @@ var eng_init = func { setlistener("/controls/engines/engine[0]/cutoff-switch", func { if (getprop("/controls/engines/engine[0]/cutoff-switch") == 0) { if (getprop("/controls/engines/engine[0]/man-start") == 0) { - setprop("/systems/pneumatic/eng1-starter", 1); start_one_check(); } else if (getprop("/controls/engines/engine[0]/man-start") == 1) { + setprop("/systems/pneumatic/eng1-starter", 1); eng_one_man_startt.start(); } } else if (getprop("/controls/engines/engine[0]/cutoff-switch") == 1) { @@ -93,9 +93,9 @@ var start_one_check_b = func { setlistener("/controls/engines/engine[1]/cutoff-switch", func { if (getprop("/controls/engines/engine[1]/cutoff-switch") == 0) { if (getprop("/controls/engines/engine[1]/man-start") == 0) { - setprop("/systems/pneumatic/eng2-starter", 1); start_two_check(); } else if (getprop("/controls/engines/engine[1]/man-start") == 1) { + setprop("/systems/pneumatic/eng2-starter", 1); eng_two_man_startt.start(); } } else if (getprop("/controls/engines/engine[1]/cutoff-switch") == 1) {