We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e5b88 commit b1c4caeCopy full SHA for b1c4cae
MLAPI/NetworkingManagerComponents/Core/NetworkSceneManager.cs
@@ -74,7 +74,7 @@ internal static void OnSceneSwitch(uint sceneIndex)
74
Debug.LogWarning("MLAPI: Scene switching is not enabled but was requested by the server");
75
return;
76
}
77
- else if (!sceneIndexToString.ContainsKey(sceneIndex) || registeredSceneNames.Contains(sceneIndexToString[sceneIndex]))
+ else if (!sceneIndexToString.ContainsKey(sceneIndex) || !registeredSceneNames.Contains(sceneIndexToString[sceneIndex]))
78
{
79
Debug.LogWarning("MLAPI: Server requested a scene switch to a non registered scene");
80
0 commit comments