diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-09-03 23:24:55 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-09-03 23:24:55 -0300 |
commit | b0aa49accbd7e45dae38f1bd43b0fbdd11714211 (patch) | |
tree | f9173780301097b0da9bba0203402c33036ea72d /core/globals.cpp | |
parent | 7900d5daf21434a9396894a7c3ac360c03938770 (diff) |
merged some stuff for okam
Diffstat (limited to 'core/globals.cpp')
-rw-r--r-- | core/globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/globals.cpp b/core/globals.cpp index d252d4e280..ffd4cf5d5e 100644 --- a/core/globals.cpp +++ b/core/globals.cpp @@ -54,7 +54,7 @@ String Globals::localize_path(const String& p_path) const { if (resource_path=="") return p_path; //not initialied yet - if (p_path.begins_with("res://")) + if (p_path.find(":/") != -1) return p_path.simplify_path(); |