improve comment

This commit is contained in:
vis2k 2019-03-22 12:04:25 +01:00
parent c176da7bc3
commit b869e3af99

View File

@ -790,9 +790,10 @@ public static void SetClientReady(NetworkConnection conn)
} }
} }
} }
// add connection to each nearby NetworkIdentity's observers, which
// internally sends a spawn message for each one to the connection.
else else
{ {
// Spawn/update all current server objects
if (LogFilter.Debug) Debug.Log("Spawning " + NetworkIdentity.spawned.Count + " objects for conn " + conn.connectionId); if (LogFilter.Debug) Debug.Log("Spawning " + NetworkIdentity.spawned.Count + " objects for conn " + conn.connectionId);
conn.Send(new ObjectSpawnStartedMessage()); conn.Send(new ObjectSpawnStartedMessage());