User more correct plus file on get_current_dir.

This commit is contained in:
Juan Linietsky 2018-11-08 19:05:12 -03:00
parent 531dc2f435
commit da1f53c8d9
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ String DirAccessPack::get_current_dir() {
while (pd->parent) { while (pd->parent) {
pd = pd->parent; pd = pd->parent;
p = pd->name + "/" + p; p = pd->name.plus_file(p);
} }
return "res://" + p; return "res://" + p;