From a2ff5ae59048ff9e633dc822eed51968e8796faf Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Fri, 1 Dec 2017 15:54:16 -0400 Subject: [PATCH] Bugfix turnoff light --- Nasal/libraries.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas index 693088cc..d7785c08 100644 --- a/Nasal/libraries.nas +++ b/Nasal/libraries.nas @@ -57,7 +57,7 @@ setlistener("controls/lighting/nav-lights-switch", func { setlistener("controls/lighting/turnoff-light-switch", func { var left_turnoff_light = props.globals.getNode("/controls/lighting/leftturnoff"); var right_turnoff_light = props.globals.getNode("/controls/lighting/rightturnoff"); - var settingT = getprop("/controls/lighting/turnoff-lights-switch"); + var settingT = getprop("/controls/lighting/turnoff-light-switch"); if (settingT == 1) { left_turnoff_light.setBoolValue(1); right_turnoff_light.setBoolValue(1);