|
|
@ -5,8 +5,7 @@ extends VBoxContainer |
|
|
|
|
|
|
|
|
|
|
|
func _ready() -> void: |
|
|
|
SaveGameManager.open_save_list_ui.connect(_on_refresh_saves_list) |
|
|
|
SaveGameManager.refresh_saves_list.connect(_on_refresh_saves_list) |
|
|
|
SaveGameManager.open_save_list_ui.connect(_on_open_save_list_ui) |
|
|
|
|
|
|
|
|
|
|
|
## Clear the SaveFilesList node of all saves and load most recent saves |
|
|
@ -25,5 +24,5 @@ func _clear_save_files_list() -> void: |
|
|
|
for _panel: SaveFilePanel in get_children(): |
|
|
|
_panel.queue_free() |
|
|
|
|
|
|
|
func _on_refresh_saves_list() -> void: |
|
|
|
func _on_open_save_list_ui() -> void: |
|
|
|
refresh_saves_list() |