Enhance save system functionality; improve game state management and session tracking
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user