mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Removed the +1 in MultiSceneNetManager
This commit is contained in:
parent
7560a4c274
commit
3aad58a95f
@ -71,7 +71,7 @@ IEnumerator ServerLoadSubScenes()
|
||||
for (int index = 1; index <= instances; index++)
|
||||
{
|
||||
yield return SceneManager.LoadSceneAsync(gameScene, new LoadSceneParameters { loadSceneMode = LoadSceneMode.Additive, localPhysicsMode = LocalPhysicsMode.Physics3D });
|
||||
subScenes.Add(SceneManager.GetSceneAt(index + 1));
|
||||
subScenes.Add(SceneManager.GetSceneAt(index));
|
||||
}
|
||||
|
||||
subscenesLoaded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user