Skip to content

Commit e903ba8

Browse files
committed
Small fix
1 parent 4b53df0 commit e903ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ internal void SpawnInternal(bool destroyWithScene, ulong ownerClientId, bool pla
18851885
// then we want to send a spawn notification.
18861886
if (SpawnWithObservers || !SpawnWithObservers && Observers.Count > 1)
18871887
{
1888-
NetworkManagerOwner.SpawnManager.SendSpawnCallForObject(NetworkManagerOwner.ServerClientId, this);
1888+
NetworkManagerOwner.SpawnManager.SendSpawnCallForObject(NetworkManager.ServerClientId, this);
18891889
}
18901890
}
18911891
else

0 commit comments

Comments
 (0)