We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a658931 commit a098736Copy full SHA for a098736
com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs
@@ -542,7 +542,7 @@ internal bool IsBehaviourEditable()
542
var networkManager = m_NetworkObject.NetworkManager;
543
544
// Only the authority can MODIFY. So allow modification if network is either not running or we are the authority.
545
- return !networkManager.IsListening ||
+ return !networkManager.IsListening ||
546
((networkManager.DistributedAuthorityMode && m_NetworkObject.IsOwner) || (!networkManager.DistributedAuthorityMode && networkManager.IsServer));
547
}
548
0 commit comments