From 3cadecf17be08198f8a28e0674bfde30c8fc824f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 2 Oct 2017 16:38:39 -0300 Subject: fixed the OS.has_feature() API, and added support for 32 and 64. --- core/io/resource_import.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/io') diff --git a/core/io/resource_import.cpp b/core/io/resource_import.cpp index bc7ea47762..401d704222 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 } -- cgit v1.2.3