mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
add comment
This commit is contained in:
parent
2971345f37
commit
8787910d34
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user