diff options
author | volzhs <volzhs@gmail.com> | 2019-03-06 21:20:18 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2019-03-06 21:20:18 +0900 |
commit | 8920bb8c1b6aebb665d376890bd6971f416b8609 (patch) | |
tree | 839bc475bee6c9034770c83196813465dbe54f26 /editor | |
parent | 2940475c716eab517ca52957acc8714f195d32cb (diff) |
Fix directory check when exporting project
Fix #26702
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 62c0228f6a..dc43faeff1 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -1466,7 +1466,7 @@ List<String> EditorExportPlatformPC::get_binary_extensions(const Ref<EditorExpor Error EditorExportPlatformPC::export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags) { ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags); - if (!FileAccess::exists(p_path.get_base_dir())) { + if (!DirAccess::exists(p_path.get_base_dir())) { return ERR_FILE_BAD_PATH; } |