diff --git a/save_load/ui/save_load_ui.gd b/save_load/ui/save_load_ui.gd index 1266163..0ce2936 100644 --- a/save_load/ui/save_load_ui.gd +++ b/save_load/ui/save_load_ui.gd @@ -25,7 +25,7 @@ func _on_create_save_button_pressed() -> void: var _save_level_data_component: SaveLevelDataComponent = get_tree().get_first_node_in_group("save_level_data_component") if _save_level_data_component.ui_node != null: _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 allow time for UI to hide before taking screenshot SaveGameManager.create_save_file.emit(save_name) if _save_level_data_component.ui_node != null: _save_level_data_component.ui_node.visible = true