aboutsummaryrefslogtreecommitdiff
path: root/core/io/resource_import.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-10-02 16:38:39 -0300
committerJuan Linietsky2017-10-03 17:36:14 -0300
commit3cadecf17be08198f8a28e0674bfde30c8fc824f (patch)
treed7f50c210e56efbce70253485c69c23aa3af5bad /core/io/resource_import.cpp
parenta848fa6cdeb00f0c40f259cde2d59112272e3c51 (diff)
downloadgodot-3cadecf17be08198f8a28e0674bfde30c8fc824f.tar.gz
godot-3cadecf17be08198f8a28e0674bfde30c8fc824f.tar.zst
godot-3cadecf17be08198f8a28e0674bfde30c8fc824f.zip
Diffstat (limited to 'core/io/resource_import.cpp')
-rw-r--r--core/io/resource_import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_import.cpp b/core/io/resource_import.cpp
index bc7ea4776..401d70422 100644
--- a/core/io/resource_import.cpp
+++ b/core/io/resource_import.cpp
@@ -77,7 +77,7 @@ Error ResourceFormatImporter::_get_path_and_type(const String &p_path, PathAndTy
if (assign != String()) {
if (!path_found && assign.begins_with("path.") && r_path_and_type.path == String()) {
String feature = assign.get_slicec('.', 1);
- if (OS::get_singleton()->check_feature_support(feature)) {
+ if (OS::get_singleton()->has_feature(feature)) {
r_path_and_type.path = value;
path_found = true; //first match must have priority
}