From 6e0d4eb66084c146e856b4cde5f856a546100c6d Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:30:00 +0200 Subject: [PATCH] Fix `Project.export_directory_path` being set incorrectly in `open_pxo_file()` --- src/Autoload/OpenSave.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Autoload/OpenSave.gd b/src/Autoload/OpenSave.gd index eb090aaa3..e431040ab 100644 --- a/src/Autoload/OpenSave.gd +++ b/src/Autoload/OpenSave.gd @@ -242,7 +242,7 @@ func open_pxo_file(path: String, untitled_backup := false, replace_empty := true else: new_project.tiles.reset_mask() zip_reader.close() - new_project.export_directory_path = path.get_basename() + new_project.export_directory_path = path.get_base_dir() if empty_project: new_project.change_project()