mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Replace + "/" + with String::file_add()
This commit is contained in:
parent
f410e7a8a9
commit
d2833d4f4d
17 changed files with 39 additions and 39 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue