diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/class_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp index 0ca982303d..1fe02c8cd9 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -1196,7 +1196,7 @@ void ClassDB::get_extensions_for_type(const StringName &p_class, List<String> *p while ((K = resource_base_extensions.next(K))) { StringName cmp = resource_base_extensions[*K]; - if (is_parent_class(p_class, cmp)) + if (is_parent_class(p_class, cmp) || is_parent_class(cmp, p_class)) p_extensions->push_back(*K); } } |