mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
MultiSceneNetManager - fixed comment
This commit is contained in:
parent
6b4bac7dc2
commit
5cc090a1a5
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user