From f4ed469fc9eaeebf39093fbf6601581cc10c6e2f Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 26 Oct 2025 20:02:15 -0300 Subject: feat:save AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O vazio dentro de mim é como uma xícara de café esquecida no canto da mesa. --- scripts/GUI/MainMenu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/GUI/MainMenu.cs') diff --git a/scripts/GUI/MainMenu.cs b/scripts/GUI/MainMenu.cs index 74592c2..fc46cd2 100644 --- a/scripts/GUI/MainMenu.cs +++ b/scripts/GUI/MainMenu.cs @@ -24,7 +24,7 @@ public partial class MainMenu : Control quitButton.Pressed += OnQuitButtonPressed; newGameButton.GrabFocus(); - bool hasSaveFile = FileAccess.FileExists("user://save.dat"); + bool hasSaveFile = FileAccess.FileExists("user://save_game.json"); loadGameButton.Disabled = !hasSaveFile; } -- cgit v1.2.3