diff --git a/Assets/Fungus/Scripts/Components/SaveMenu.cs b/Assets/Fungus/Scripts/Components/SaveMenu.cs index e9b397ae..207e0c15 100644 --- a/Assets/Fungus/Scripts/Components/SaveMenu.cs +++ b/Assets/Fungus/Scripts/Components/SaveMenu.cs @@ -58,6 +58,8 @@ namespace Fungus protected static SaveMenu instance; + protected static bool hasLoadedOnStart = false; + protected virtual void Awake() { // Only one instance of SaveMenu may exist @@ -89,8 +91,10 @@ namespace Fungus saveManager.StartScene = SceneManager.GetActiveScene().name; } - if (loadOnStart) + if (loadOnStart && !hasLoadedOnStart) { + hasLoadedOnStart = true; + if (saveManager.SaveDataExists(saveDataKey)) { saveManager.Load(saveDataKey);