We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 861f507 commit ce3d053Copy full SHA for ce3d053
1 file changed
com.unity.netcode.gameobjects/Runtime/Components/NetworkAnimator.cs
@@ -78,7 +78,7 @@ private void FlushMessages()
78
private bool HasAuthority()
79
{
80
var isServerAuthority = m_NetworkAnimator.IsServerAuthoritative();
81
- return (!isServerAuthority && m_NetworkAnimator.IsOwner) || (isServerAuthority && m_NetworkAnimator.IsServer);
+ return (!isServerAuthority && m_NetworkAnimator.IsOwner) || (isServerAuthority && (m_NetworkAnimator.IsServer || m_NetworkAnimator.IsOwner));
82
}
83
84
/// <inheritdoc />
0 commit comments