diff --git a/Assets/Scripts/Utility/SceneSwitch.cs b/Assets/Scripts/Utility/SceneSwitch.cs index 1dc6a84..72c3f75 100644 --- a/Assets/Scripts/Utility/SceneSwitch.cs +++ b/Assets/Scripts/Utility/SceneSwitch.cs @@ -47,7 +47,12 @@ private void OnTriggerStay(Collider other) } Cursor.visible = false; + + #if NETWORKING + UnityEngine.Networking.NetworkManager.singleton.ServerChangeScene(sceneName); + #else SceneManager.LoadScene(sceneName); + #endif } } } \ No newline at end of file