From 919b697e25b83fd2d22f58438cb0a8d4384ff678 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Mon, 11 Mar 2019 17:05:30 +0000 Subject: [PATCH] Fix engine state property --- Nasal/engines-cfm.nas | 4 ++-- Nasal/engines-iae.nas | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Nasal/engines-cfm.nas b/Nasal/engines-cfm.nas index b025beea..386fa3b5 100644 --- a/Nasal/engines-cfm.nas +++ b/Nasal/engines-cfm.nas @@ -256,7 +256,7 @@ var eng_one_n2_check = maketimer(0.5, func { setprop("/controls/engines/engine[0]/igniter-b", 0); } } - if (getprop("/engines/engine[0]/n2-actual") >= 57.0) { + if (getprop("/engines/engine[0]/n2-actual") >= 61.1) { eng_one_n2_check.stop(); setprop("/systems/pneumatic/eng1-starter", 0); setprop("/engines/engine[0]/state", 3); @@ -319,7 +319,7 @@ var eng_two_n2_check = maketimer(0.5, func { setprop("/controls/engines/engine[1]/igniter-b", 0); } } - if (getprop("/engines/engine[1]/n2-actual") >= 57.0) { + if (getprop("/engines/engine[1]/n2-actual") >= 61.1) { eng_two_n2_check.stop(); setprop("/systems/pneumatic/eng2-starter", 0); setprop("/engines/engine[1]/state", 3); diff --git a/Nasal/engines-iae.nas b/Nasal/engines-iae.nas index eeecd296..466a9caf 100644 --- a/Nasal/engines-iae.nas +++ b/Nasal/engines-iae.nas @@ -256,7 +256,7 @@ var eng_one_n2_check = maketimer(0.5, func { setprop("/controls/engines/engine[0]/igniter-b", 0); } } - if (getprop("/engines/engine[0]/n2-actual") >= 57.0) { + if (getprop("/engines/engine[0]/n2-actual") >= 60.8) { eng_one_n2_check.stop(); setprop("/systems/pneumatic/eng1-starter", 0); setprop("/engines/engine[0]/state", 3); @@ -319,7 +319,7 @@ var eng_two_n2_check = maketimer(0.5, func { setprop("/controls/engines/engine[1]/igniter-b", 0); } } - if (getprop("/engines/engine[1]/n2-actual") >= 57.0) { + if (getprop("/engines/engine[1]/n2-actual") >= 60.8) { eng_two_n2_check.stop(); setprop("/systems/pneumatic/eng2-starter", 0); setprop("/engines/engine[1]/state", 3);