User more correct plus file on get_current_dir.
This commit is contained in:
parent
531dc2f435
commit
da1f53c8d9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue