mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkIdentity.OnStartClient: isClient is set to true without checking if it's false
This commit is contained in:
parent
3fe7e56ff5
commit
d976add1f8
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user