From 3c98ff0ace42db9b7fd2df798b88431396ca68d2 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Fri, 10 May 2019 14:00:24 +0100 Subject: [PATCH] In theory fixes apu fire test. In practice who knows? --- Nasal/fire.nas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Nasal/fire.nas b/Nasal/fire.nas index 0ed787c3..06bb7701 100644 --- a/Nasal/fire.nas +++ b/Nasal/fire.nas @@ -691,12 +691,10 @@ setlistener("/controls/fire/apu-test-btn", func() { if (getprop("/systems/failures/apu-fire")) { return; } if (cargoTestBtn.getValue() == 1) { if (dcbatNode.getValue() > 25 or dcessNode.getValue() > 25) { - fwdCargoFireWarn.setBoolValue(1); - aftCargoFireWarn.setBoolValue(1); + apuFireWarn.setBoolValue(1); } } else { - fwdCargoFireWarn.setBoolValue(0); - aftCargoFireWarn.setBoolValue(0); + apuFireWarn.setBoolValue(0); ecam.shutUpYou(); } }, 0, 0);