Fix directory check when exporting project

Fix #26702
This commit is contained in:
volzhs
2019-03-06 21:20:18 +09:00
parent 2940475c71
commit 8920bb8c1b
6 changed files with 6 additions and 6 deletions

View File

@@ -1499,7 +1499,7 @@ public:
}
}
if (!FileAccess::exists(p_path.get_base_dir())) {
if (!DirAccess::exists(p_path.get_base_dir())) {
return ERR_FILE_BAD_PATH;
}