Enhance save system functionality; improve game state management and session tracking

This commit is contained in:
2025-05-25 16:06:59 +02:00
parent 15c85a5aae
commit 250fb18e16
11 changed files with 92 additions and 25 deletions

View File

@@ -27,6 +27,11 @@ func _ready() -> void:
if version_label:
version_label.text = "v. " + ProjectSettings.get_setting("application/config/version")
if not SaveSystem.check_save_exists() and continue_button:
continue_button.disabled = true
else:
continue_button.disabled = false
func _on_new_game_button_pressed() -> void:
if gm:
@@ -54,4 +59,4 @@ func _on_settings_button_pressed() -> void:
func _on_credits_button_pressed() -> void:
if credits_control:
UiManager.push_screen(credits_control)
UiManager.push_screen(credits_control)