summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-06 15:31:42 +0100
committerGitHub <noreply@github.com>2019-03-06 15:31:42 +0100
commit4d099e901b0c176f8da8e63384c235f23f8c440c (patch)
tree0fe8deb20539462023f16f31b437ff0c133e56d5 /editor
parent97774f6f69a5566a526c161411ecdf34a5a90b14 (diff)
parent8920bb8c1b6aebb665d376890bd6971f416b8609 (diff)
Merge pull request #26705 from volzhs/fix-export
Fix directory check when exporting project
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_export.cpp2
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;
}