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
This commit is contained in:
Rémi Verschelde 2023-08-28 12:08:14 +02:00
commit b5b87b38ad
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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)) {