From 34380b237080e5107421f8e17b59ec1f0ec47378 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Tue, 24 Feb 2026 11:56:02 -0700 Subject: [PATCH] Fix high score --- Scripts/FirstLoad.cs | 3 ++- Scripts/LoadSaveFIle.cs | 7 ------- Scripts/LoadSaveFIle.cs.uid | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 Scripts/LoadSaveFIle.cs delete mode 100644 Scripts/LoadSaveFIle.cs.uid diff --git a/Scripts/FirstLoad.cs b/Scripts/FirstLoad.cs index f8709b3..0ba993c 100644 --- a/Scripts/FirstLoad.cs +++ b/Scripts/FirstLoad.cs @@ -15,10 +15,11 @@ public partial class FirstLoad : Control { LatestVersionLabel.Text = "Latest Version: " + Globals.LatestVersion; } else { - //Load settings + //Load savefile stuff List settings = Utils.LoadSettings(); string fullscreen = settings.ElementAtOrDefault(0) ?? "1"; Utils.ToggleFullscreen(fullscreen == "1", settings); //This will also load VSync + Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0")); //Version checking HttpRequest GetLatestVersionNode = GetNode("VersionText/LatestVersion/HTTPRequest"); diff --git a/Scripts/LoadSaveFIle.cs b/Scripts/LoadSaveFIle.cs deleted file mode 100644 index e1cba47..0000000 --- a/Scripts/LoadSaveFIle.cs +++ /dev/null @@ -1,7 +0,0 @@ -using Godot; - -public partial class LoadSaveFIle : Control { - public override void _Ready() { - Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0")); - } -} diff --git a/Scripts/LoadSaveFIle.cs.uid b/Scripts/LoadSaveFIle.cs.uid deleted file mode 100644 index 9b4c2dc..0000000 --- a/Scripts/LoadSaveFIle.cs.uid +++ /dev/null @@ -1 +0,0 @@ -uid://crsloi4abxhqh