From da1f53c8d995aeb393f67d9aeb8a0842751a1180 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 8 Nov 2018 19:05:12 -0300 Subject: [PATCH] User more correct plus file on get_current_dir. --- core/io/file_access_pack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp index 40f756ba9a5..38232857926 100644 --- a/core/io/file_access_pack.cpp +++ b/core/io/file_access_pack.cpp @@ -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;