|
@ -27,7 +27,6 @@ func _on_create_save_button_pressed() -> void: |
|
|
_save_level_data_component.ui_node.visible = false |
|
|
_save_level_data_component.ui_node.visible = false |
|
|
await get_tree().create_timer(.150).timeout # A hack to delay to allow UI to hide before taking screenshot |
|
|
await get_tree().create_timer(.150).timeout # A hack to delay to allow UI to hide before taking screenshot |
|
|
SaveGameManager.create_save_file.emit(save_name) |
|
|
SaveGameManager.create_save_file.emit(save_name) |
|
|
SaveGameManager.refresh_saves_list.emit() |
|
|
|
|
|
if _save_level_data_component.ui_node != null: |
|
|
if _save_level_data_component.ui_node != null: |
|
|
_save_level_data_component.ui_node.visible = true |
|
|
_save_level_data_component.ui_node.visible = true |
|
|
new_save_ui.hide() |
|
|
new_save_ui.hide() |
|
|