Skip to content

Commit

Permalink
fix: fixing incorrect log message
Browse files Browse the repository at this point in the history
SyncVar and destroy message are sent as reliable ordered. so the message about UDP was incorrect
  • Loading branch information
James-Frowen authored Oct 29, 2024
1 parent 5e2c7c6 commit e05ab96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirage/Runtime/SyncVarReceiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private void OnUpdateVarsMessage(INetworkPlayer sender, UpdateVarsMessage msg)
}
else
{
if (logger.WarnEnabled()) logger.LogWarning("Did not find target for sync message for " + msg.NetId + " . Note: this can be completely normal because UDP messages may arrive out of order, so this message might have arrived after a Destroy message.");
if (logger.WarnEnabled()) logger.LogWarning("Did not find target for sync message for " + msg.NetId);
}
}

Expand Down

0 comments on commit e05ab96

Please sign in to comment.