Fix maybe

This commit is contained in:
2025-08-25 13:39:55 -07:00
parent ea9b393d7b
commit 7d910d602e
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ public class BazookaManager : MonoBehaviour
Debug.LogWarning("Failed to load save file"); Debug.LogWarning("Failed to load save file");
} }
} }
if (PlayerPrefs.GetInt("LegacyConversion", 0) == 1) if (!PlayerPrefs.HasKey("LegacyConversion"))
{ {
PlayerPrefs.SetInt("LegacyConversion", 1); PlayerPrefs.SetInt("LegacyConversion", 1);
if (PlayerPrefs.HasKey("HighScoreV2")) if (PlayerPrefs.HasKey("HighScoreV2"))

View File

@@ -23,7 +23,7 @@ public class LoadingMenu : MonoBehaviour
Application.targetFrameRate = 360; Application.targetFrameRate = 360;
QualitySettings.vSyncCount = 0; QualitySettings.vSyncCount = 0;
} }
if (PlayerPrefs.GetInt("LegacyConversion", 0) == 0) if (!PlayerPrefs.HasKey("LegacyConversion"))
{ {
if (PlayerPrefs.GetString("latestVersion", Application.version) == "1.4.0-beta1") if (PlayerPrefs.GetString("latestVersion", Application.version) == "1.4.0-beta1")
{ {