We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6afc72 commit 0fbe3e9Copy full SHA for 0fbe3e9
MLAPI/NetworkedVar/SyncedVarContainer.cs
@@ -22,7 +22,7 @@ internal bool IsDirty()
22
object newValue = field.GetValue(fieldInstance);
23
object oldValue = value;
24
25
- if (newValue != oldValue || isDirty)
+ if (!Equals(newValue, oldValue) || isDirty)
26
{
27
isDirty = true;
28
0 commit comments