Fixed scene switching issue
This commit is contained in:
parent
02e5b886e6
commit
b1c4cae028
@ -74,7 +74,7 @@ namespace MLAPI.NetworkingManagerComponents.Core
|
|||||||
Debug.LogWarning("MLAPI: Scene switching is not enabled but was requested by the server");
|
Debug.LogWarning("MLAPI: Scene switching is not enabled but was requested by the server");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (!sceneIndexToString.ContainsKey(sceneIndex) || registeredSceneNames.Contains(sceneIndexToString[sceneIndex]))
|
else if (!sceneIndexToString.ContainsKey(sceneIndex) || !registeredSceneNames.Contains(sceneIndexToString[sceneIndex]))
|
||||||
{
|
{
|
||||||
Debug.LogWarning("MLAPI: Server requested a scene switch to a non registered scene");
|
Debug.LogWarning("MLAPI: Server requested a scene switch to a non registered scene");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user