Bugfix turnoff light
This commit is contained in:
parent
b452191045
commit
a2ff5ae590
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue