diff --git a/Assets/Mirror/Runtime/NetworkIdentity.cs b/Assets/Mirror/Runtime/NetworkIdentity.cs index 7b6a797dc..7a44bddf8 100644 --- a/Assets/Mirror/Runtime/NetworkIdentity.cs +++ b/Assets/Mirror/Runtime/NetworkIdentity.cs @@ -511,7 +511,6 @@ internal void OnStartServer(bool allowNonZeroNetId) return; } m_IsServer = true; - hasAuthority = !localPlayerAuthority; observers = new Dictionary(); @@ -1119,7 +1118,7 @@ public void RemoveClientAuthority() } // server now has authority (this is only called on server) - ForceAuthority(true); + ForceAuthority(false); } /// diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index a0eead0e7..15017b401 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -1452,7 +1452,7 @@ public static bool SpawnObjects() Spawn(identity.gameObject); // these objects are server authority - even if "localPlayerAuthority" is set on them - identity.ForceAuthority(true); + identity.ForceAuthority(false); } } return true;