diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index 74cdbe718..cd263d19e 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -551,7 +551,7 @@ public void StopClient() if (!string.IsNullOrEmpty(offlineScene)) { // Must pass true or offlineScene will not be loaded - ClientChangeScene(offlineScene); + ClientChangeScene(offlineScene, LoadSceneMode.Single, LocalPhysicsMode.None); } CleanupNetworkIdentities(); } @@ -610,11 +610,6 @@ void CleanupNetworkIdentities() } } - void ClientChangeScene(string newSceneName) - { - ClientChangeScene(newSceneName, LoadSceneMode.Single, LocalPhysicsMode.None); - } - internal void ClientChangeScene(string newSceneName, LoadSceneMode sceneMode, LocalPhysicsMode physicsMode) { if (string.IsNullOrEmpty(newSceneName))