From 7071a6afc8159faeae1f57c9e9dc383b0bc9bf95 Mon Sep 17 00:00:00 2001 From: vis2k Date: Sat, 31 Jul 2021 12:03:27 +0800 Subject: [PATCH] comments --- Assets/Mirror/Runtime/NetworkServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index 7ac346dfe..e82ffcc60 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -129,14 +129,14 @@ static void CleanupNetworkIdentities() { if (identity != null) { - // scene objects are reset and disabled. + // spawned scene objects are reset and disabled. // they always stay in the scene, we don't destroy them. if (identity.sceneId != 0) { identity.Reset(); identity.gameObject.SetActive(false); } - // spawned objects are destroyed + // spawned prefabs are destroyed else { GameObject.Destroy(identity.gameObject);