From 338b921d4cf493818c9087cba3fd7aa4e0e62d40 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Fri, 28 Sep 2018 16:05:11 -0400 Subject: [PATCH] System: Fix bug in APU Shutdown --- Nasal/engines-common.nas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Nasal/engines-common.nas b/Nasal/engines-common.nas index 9567b715..f0d3a6df 100644 --- a/Nasal/engines-common.nas +++ b/Nasal/engines-common.nas @@ -65,6 +65,9 @@ setlistener("/controls/APU/master", func { apu_egt_check.stop(); apu_egt2_check.stop(); apu_stop(); + } else if (getprop("/controls/APU/master") = 1) { + apuBleedChk.stop(); + setprop("/systems/apu/bleed-counting", 0); } });