diff --git a/Unity-Technologies-networking/Runtime/NetworkIdentity.cs b/Unity-Technologies-networking/Runtime/NetworkIdentity.cs index 552e8ce9a..69e89d85f 100644 --- a/Unity-Technologies-networking/Runtime/NetworkIdentity.cs +++ b/Unity-Technologies-networking/Runtime/NetworkIdentity.cs @@ -342,10 +342,7 @@ internal void OnStartServer(bool allowNonZeroNetId) internal void OnStartClient() { - if (!m_IsClient) - { - m_IsClient = true; - } + m_IsClient = true; CacheBehaviours(); if (LogFilter.logDev) { Debug.Log("OnStartClient " + gameObject + " GUID:" + netId + " localPlayerAuthority:" + localPlayerAuthority); }