This commit is contained in:
vis2k 2023-01-28 12:54:34 +09:00
parent a48f0af43b
commit 7cea78fae5

View File

@ -1354,8 +1354,8 @@ static void BootstrapIdentity(NetworkIdentity identity)
// initialize flags. // initialize flags.
// after NotifyAuthority for compatibility with old behaviour. // after NotifyAuthority for compatibility with old behaviour.
identity.isLocalPlayer = localPlayer == identity;
identity.isClient = true; identity.isClient = true;
identity.isLocalPlayer = localPlayer == identity;
// invoke user callbacks // invoke user callbacks
identity.OnStartClient(); identity.OnStartClient();