diff --git a/Assets/Scripts/BazookaManager.cs b/Assets/Scripts/BazookaManager.cs index 50469ec..ddd4ac6 100644 --- a/Assets/Scripts/BazookaManager.cs +++ b/Assets/Scripts/BazookaManager.cs @@ -62,7 +62,7 @@ public class BazookaManager : MonoBehaviour Debug.LogWarning("Failed to load save file"); } } - if (PlayerPrefs.GetInt("LegacyConversion", 0) == 1) + if (!PlayerPrefs.HasKey("LegacyConversion")) { PlayerPrefs.SetInt("LegacyConversion", 1); if (PlayerPrefs.HasKey("HighScoreV2")) diff --git a/Assets/Scripts/LoadingMenu.cs b/Assets/Scripts/LoadingMenu.cs index 8382465..0ef958b 100644 --- a/Assets/Scripts/LoadingMenu.cs +++ b/Assets/Scripts/LoadingMenu.cs @@ -23,7 +23,7 @@ public class LoadingMenu : MonoBehaviour Application.targetFrameRate = 360; QualitySettings.vSyncCount = 0; } - if (PlayerPrefs.GetInt("LegacyConversion", 0) == 0) + if (!PlayerPrefs.HasKey("LegacyConversion")) { if (PlayerPrefs.GetString("latestVersion", Application.version) == "1.4.0-beta1") {