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