This commit is contained in:
vis2k 2021-05-15 18:22:32 +08:00
parent 0600478e69
commit d951739841

View File

@ -1478,7 +1478,7 @@ internal static void NetworkLateUpdate()
// for each entity that this connection is seeing, // for each entity that this connection is seeing,
// sorted by priority (see NetworkConnection.observing) // sorted by priority (see NetworkConnection.observing)
foreach (NetworkIdentity identity in connection.observing) foreach (NetworkIdentity identity in sorted)
{ {
// make sure it's not null or destroyed. // make sure it's not null or destroyed.
// (which can happen if someone uses // (which can happen if someone uses