MultiSceneNetManager - fixed comment

This commit is contained in:
MrGadget1024 2023-10-22 06:56:45 -04:00
parent 6b4bac7dc2
commit 5cc090a1a5

View File

@ -73,7 +73,7 @@ IEnumerator OnServerAddPlayerDelayed(NetworkConnectionToClient conn)
playerScore.matchIndex = clientIndex % subScenes.Count;
// Do this only on server, not on clients
// This is what allows the NetworkSceneChecker on player and scene objects
// This is what allows Scene Interest Management
// to isolate matches per scene instance on server.
if (subScenes.Count > 0)
SceneManager.MoveGameObjectToScene(conn.identity.gameObject, subScenes[clientIndex % subScenes.Count]);