1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #1512 from the-mech/master

[Fix] make_dir_recursive on Windows
This commit is contained in:
Juan Linietsky
2015-03-22 14:53:10 -03:00

View File

@@ -279,7 +279,7 @@ Error DirAccessWindows::make_dir(String p_dir) {
return OK;
};
if (err == ERROR_ALREADY_EXISTS) {
if (err == ERROR_ALREADY_EXISTS || err == ERROR_ACCESS_DENIED) {
return ERR_ALREADY_EXISTS;
};