From 7c4528d6bcbb34fa73a68cdb77db87a07570d4aa Mon Sep 17 00:00:00 2001 From: Sidi Liang <1467329765@qq.com> Date: Fri, 9 Aug 2019 21:35:42 +0800 Subject: [PATCH] Engine: remove () after isRunning, which causes bugs --- Nasal/engine.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/engine.nas b/Nasal/engine.nas index 90f31ff..4db90c4 100644 --- a/Nasal/engine.nas +++ b/Nasal/engine.nas @@ -229,7 +229,7 @@ var startEngine = func(){ if(signal){ print("Engine started"); } - }else if(followme.chargeTimer.isRunning()){ + }else if(followme.chargeTimer.isRunning){ #screen.log.write("Battery is recharging, cannot start engine.", 0, 0.584, 1); setprop("/sim/sound/voices/pilot", "Battery is recharging, cannot start engine."); }