We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee1d602 commit 7b8e5e1Copy full SHA for 7b8e5e1
1 file changed
com.unity.netcode.gameobjects/Runtime/NetworkVariable/Collections/NetworkList.cs
@@ -618,7 +618,7 @@ public T this[int index]
618
619
var previousValue = m_List[index];
620
621
- // Compare the Value being applied to the current value
+ // Only trigger an event if the value has changed
622
if (NetworkVariableSerialization<T>.AreEqual(ref previousValue, ref value))
623
{
624
return;
0 commit comments