Skip to content

Commit 8a5a9ec

Browse files
jsm174freezy
authored andcommitted
misc: cleanup to match PinballEventUnity's ShouldTrigger
1 parent b0b2df7 commit 8a5a9ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Nodes/Display/DisplayUpdateEventUnit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected override void Definition()
5555

5656
protected override bool ShouldTrigger(Flow flow, DisplayUpdateEventArgs args)
5757
{
58-
return Display != null && Display.Id == args.DisplayFrameData.Id;
58+
return Display != null && Display.Id.Equals(args.DisplayFrameData.Id);
5959
}
6060

6161
protected override void AssignArguments(Flow flow, DisplayUpdateEventArgs args)

0 commit comments

Comments
 (0)