diff options
author | Nils ANDRÉ-CHANG <nils.andre.chang@gmail.com> | 2019-06-16 13:31:57 +0100 |
---|---|---|
committer | Nils ANDRÉ-CHANG <nils.andre.chang@gmail.com> | 2019-06-23 13:33:50 +0100 |
commit | d2833d4f4d891b6a0ee32a04f9d32a410b998b93 (patch) | |
tree | 3e1ce371e8edfb4f30571adb1e3c2b0b4a0a3389 /modules/gdscript/gdscript_parser.cpp | |
parent | f410e7a8a9b14fd9f5c210afcc9e3519e9ce246d (diff) | |
download | redot-engine-d2833d4f4d891b6a0ee32a04f9d32a410b998b93.tar.gz |
Replace ` + "/" + ` with `String::file_add()`
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index ec3e72eef7..fcdfd4ec98 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -463,7 +463,7 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s } if (!path.is_abs_path() && base_path != "") - path = base_path + "/" + path; + path = base_path.plus_file(path); path = path.replace("///", "//").simplify_path(); if (path == self_path) { |