From a651bd1bfd74c8b19009b3434c95df8f2e083e7a Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sat, 18 Apr 2020 17:02:08 +0100 Subject: [PATCH] Bugfix --- Nasal/Systems/APU.nas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Nasal/Systems/APU.nas b/Nasal/Systems/APU.nas index 553c13b5..2196b97f 100644 --- a/Nasal/Systems/APU.nas +++ b/Nasal/Systems/APU.nas @@ -95,7 +95,7 @@ var APU = { }, 3); settimer(func() { me.checkOil }, 8); }, - startCommand: func(fast) { + startCommand: func(fast = 0) { if (me.listenSignals and (me.state == 1 or me.state == 2)) { me.signals.startInProgress.setValue(1); me.setState(3); @@ -121,6 +121,7 @@ var APU = { waitStart: func() { if (pts.APU.rpm.getValue() >= 4.9) { me.GenericControls.cutoff.setValue(0); + setprop("/fdm/jsbsim/propulsion/set-running", 2); apuStartTimer.stop(); apuStartTimer2.start(); }