Skip to content

Commit 4dcdc01

Browse files
jsm174freezy
authored andcommitted
switchlamp: fix Less Than Equal compare
1 parent 984d573 commit 4dcdc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Nodes/Lamps/SwitchLampUnit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private ControlOutput Process(Flow flow)
158158
break;
159159

160160
case CompareType.LessThanEqual:
161-
match = lampIdValue.value < sourceValue;
161+
match = lampIdValue.value <= sourceValue;
162162
break;
163163

164164
default:

0 commit comments

Comments
 (0)