From 8787910d348de80ee13f099d24b7aa7519bc9a76 Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 31 Dec 2019 09:30:29 +0100 Subject: [PATCH] add comment --- Assets/Mirror/Runtime/NetworkManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index 801f0c726..afeb85e68 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -315,11 +315,12 @@ public bool StartServer() if (LogFilter.Debug) Debug.Log("NetworkManager StartServer"); isNetworkActive = true; - // scene change needed? + // scene change needed? then change scene and spawn afterwards. if (IsServerOnlineSceneChangeNeeded()) { ServerChangeScene(onlineScene); } + // otherwise spawn directly else { NetworkServer.SpawnObjects();