mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
isClient is already true, so make sure to initialize the objects
This commit is contained in:
parent
4816f0ead1
commit
095b54752a
@ -598,12 +598,9 @@ internal static void OnObjectSpawnFinished(ObjectSpawnFinishedMessage _)
|
||||
// use data from scene objects
|
||||
foreach (NetworkIdentity identity in NetworkIdentity.spawned.Values.OrderBy(uv => uv.netId))
|
||||
{
|
||||
if (!identity.isClient)
|
||||
{
|
||||
identity.NotifyAuthority();
|
||||
identity.OnStartClient();
|
||||
CheckForLocalPlayer(identity);
|
||||
}
|
||||
identity.NotifyAuthority();
|
||||
identity.OnStartClient();
|
||||
CheckForLocalPlayer(identity);
|
||||
}
|
||||
isSpawnFinished = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user