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

View file

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