From cec1b4730e8b4f460a764a64d6c610f9ebf43501 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Mon, 7 Aug 2017 15:57:31 +0100 Subject: [PATCH] improve fire --- Nasal/fire.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nasal/fire.nas b/Nasal/fire.nas index 378b58be..58448458 100644 --- a/Nasal/fire.nas +++ b/Nasal/fire.nas @@ -127,7 +127,7 @@ var master_fire = func { # Test Sequence # ################# - if (getprop("/controls/fire/cargo/test")) { + if (test) { setprop("/systems/fire/cargo/test", 1); } else { setprop("/systems/fire/cargo/test", 0); @@ -188,5 +188,5 @@ var update_fire = func { master_fire(); } -var fire_timer = maketimer(0.1, update_fire); +var fire_timer = maketimer(0.2, update_fire);