summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2019-03-06 21:20:18 +0900
committervolzhs <volzhs@gmail.com>2019-03-06 21:20:18 +0900
commit8920bb8c1b6aebb665d376890bd6971f416b8609 (patch)
tree839bc475bee6c9034770c83196813465dbe54f26 /platform/osx
parent2940475c716eab517ca52957acc8714f195d32cb (diff)
Fix directory check when exporting project
Fix #26702
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp
index a0eccceed0..5e94bc457b 100644
--- a/platform/osx/export/export.cpp
+++ b/platform/osx/export/export.cpp
@@ -425,7 +425,7 @@ Error EditorExportPlatformOSX::export_project(const Ref<EditorExportPreset> &p_p
}
}
- if (!FileAccess::exists(p_path.get_base_dir())) {
+ if (!DirAccess::exists(p_path.get_base_dir())) {
return ERR_FILE_BAD_PATH;
}