summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editor/export/project_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp
index b0d7534c83..f723a20368 100644
--- a/editor/export/project_export.cpp
+++ b/editor/export/project_export.cpp
@@ -1070,7 +1070,7 @@ void ProjectExportDialog::_export_project_to_path(const String &p_path) {
current->set_export_path(p_path);
platform->clear_messages();
- Error err = platform->export_project(current, export_debug->is_pressed(), p_path, 0);
+ Error err = platform->export_project(current, export_debug->is_pressed(), current->get_export_path(), 0);
result_dialog_log->clear();
if (err != ERR_SKIP) {
if (platform->fill_log_messages(result_dialog_log, err)) {