Explorar o código

Merge pull request #1512 from the-mech/master

[Fix] make_dir_recursive on Windows
Juan Linietsky %!s(int64=10) %!d(string=hai) anos
pai
achega
3a96937e93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/windows/dir_access_windows.cpp

+ 1 - 1
drivers/windows/dir_access_windows.cpp

@@ -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;
 	};