From 62e3035ac1a6ccc90186b3806558f41877d28079 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Mon, 18 Jan 2021 20:02:24 +0000 Subject: [PATCH] APU: instant start up with panel states --- Nasal/Systems/APU.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nasal/Systems/APU.nas b/Nasal/Systems/APU.nas index 8f57a2df..829acc60 100644 --- a/Nasal/Systems/APU.nas +++ b/Nasal/Systems/APU.nas @@ -101,7 +101,7 @@ var APU = { me.inletFlap.open(); me.listenSignals = 1; settimer(func() { - if (APUNodes.Controls.master.getValue() and !getprop("/systems/acconfig/autoconfig-running")) { + if (APUNodes.Controls.master.getValue() and !pts.Acconfig.running.getValue()) { me.setState(2); } }, 3); @@ -131,7 +131,7 @@ var APU = { apuStartTimer.start(); }, waitStart: func() { - if (pts.APU.rpm.getValue() >= 4.9) { + if (pts.APU.rpm.getValue() >= 4.9 or me.fastStart) { me.GenericControls.cutoff.setValue(0); if (me.fastStart) { setprop("/fdm/jsbsim/propulsion/set-running", 2);