Added NetworkSpawn invocation for SceneObjects when they get marked
This commit is contained in:
parent
cb1bcaf14f
commit
3abb311f82
@ -91,7 +91,10 @@ namespace MLAPI.NetworkingManagerComponents.Core
|
|||||||
for (int i = 0; i < netObjects.Length; i++)
|
for (int i = 0; i < netObjects.Length; i++)
|
||||||
{
|
{
|
||||||
if (netObjects[i].sceneObject == null)
|
if (netObjects[i].sceneObject == null)
|
||||||
|
{
|
||||||
|
netObjects[i].InvokeBehaviourNetworkSpawn();
|
||||||
netObjects[i].sceneObject = true;
|
netObjects[i].sceneObject = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user