Fixed issue #12019, which prevented the creation of new folders on Windows platform

This commit is contained in:
Falk Moser 2017-10-13 00:34:05 +02:00
parent 79e247d74e
commit 93ef512422

View file

@ -164,7 +164,7 @@ Error DirAccessWindows::make_dir(String p_dir) {
p_dir = fix_path(p_dir);
if (p_dir.is_rel_path())
p_dir = get_current_dir().plus_file(p_dir);
p_dir = current_dir.plus_file(p_dir);
p_dir = p_dir.replace("/", "\\");