From 5833598b62bd28bc4760c912eea223af66c2f28d Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Thu, 8 Dec 2016 19:39:58 +0000 Subject: [PATCH] try to fix systems.nas -- gives non objects at line 100? --- Nasal/systems.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/systems.nas b/Nasal/systems.nas index 977cf24b..f8d8f4c1 100644 --- a/Nasal/systems.nas +++ b/Nasal/systems.nas @@ -97,7 +97,7 @@ aircraft.rain.init(); # seatbelt/no smoking sign triggers setlistener("controls/switches/seatbelt-sign", func { - props.globals.getNode("sim/sound/seatbelt-sign").setBoolValue(1); + setprop("/sim/sound/seatbelt-sign",1); settimer(func {