Fix typo in a comment in NetworkServer.cs (#3071)

This commit is contained in:
Roman Niukhalov 2022-01-26 16:35:17 +11:00 committed by GitHub
parent 8e682ec79e
commit 48df9ec287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1022,7 +1022,7 @@ internal static void SendChangeOwnerMessage(NetworkIdentity identity, NetworkCon
static void SpawnObject(GameObject obj, NetworkConnection ownerConnection)
{
// verify if we an spawn this
// verify if we can spawn this
if (Utils.IsPrefab(obj))
{
Debug.LogError($"GameObject {obj.name} is a prefab, it can't be spawned. Instantiate it first.");