diff options
author | elasota <ejlasota@gmail.com> | 2018-08-21 22:56:04 -0400 |
---|---|---|
committer | elasota <ejlasota@gmail.com> | 2018-08-21 22:56:04 -0400 |
commit | 35f6ba5c5d950171ec3e4f15934ac5494b19acb1 (patch) | |
tree | c154bca58614f4970dcf144b886e906d4a8972d3 /core/io/resource_import.cpp | |
parent | 0e6551d8e2c080149bedcefd6c9dd0061261ea3f (diff) |
BPTC support
Diffstat (limited to 'core/io/resource_import.cpp')
-rw-r--r-- | core/io/resource_import.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_import.cpp b/core/io/resource_import.cpp index cfe6655504..83e8a40da9 100644 --- a/core/io/resource_import.cpp +++ b/core/io/resource_import.cpp @@ -78,7 +78,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()->has_feature(feature)) { + if (feature == "fallback" || OS::get_singleton()->has_feature(feature)) { r_path_and_type.path = value; path_found = true; //first match must have priority } |