Browse Source

Merge pull request #81016 from YeldhamDev/took_me_a_while_to_discover_why_my_plugin_was_acting_weird

Keep `_export_begin()`'s `path` argument always consistent
Rémi Verschelde 2 years ago
parent
commit
b5b87b38ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/export/project_export.cpp

+ 1 - 1
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)) {