online fix
This commit is contained in:
@@ -348,6 +348,7 @@ namespace MegaKoop.Game.Networking
|
||||
var identity = instance.GetComponent<NetworkIdentity>();
|
||||
if (identity != null && pendingRemoteSpawn.NetworkId != 0 && identity.NetworkId != pendingRemoteSpawn.NetworkId)
|
||||
{
|
||||
NetworkIdAllocator.SyncEnemyCursor(pendingRemoteSpawn.NetworkId);
|
||||
identity.SetNetworkId(pendingRemoteSpawn.NetworkId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user