diff --git a/Assets/Scripts/SceneController.cs b/Assets/Scripts/SceneController.cs index 2a23368..7c9d8bf 100644 --- a/Assets/Scripts/SceneController.cs +++ b/Assets/Scripts/SceneController.cs @@ -16,6 +16,10 @@ public class SceneController : MonoBehaviour { Instance = this; } + else + { + Destroy(this); + } // Make this object stay around when switching scenes DontDestroyOnLoad(this.gameObject); SceneManager.sceneLoaded += OnSceneLoaded;