diff options
author | David Snopek <dsnopek@gmail.com> | 2023-10-02 09:14:56 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2023-10-02 09:23:27 -0500 |
commit | cbf939e12149609e38fcdee40f44713f025acc59 (patch) | |
tree | eeddc19d1abb2b39ca75d564ca4b01914073d79e /core/object/script_language_extension.h | |
parent | 0ca8542329888e8dccba89d59d3b728090c29991 (diff) | |
download | redot-engine-cbf939e12149609e38fcdee40f44713f025acc59.tar.gz |
GDExtension: Don't deprecate old method of getting script category
Diffstat (limited to 'core/object/script_language_extension.h')
-rw-r--r-- | core/object/script_language_extension.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/object/script_language_extension.h b/core/object/script_language_extension.h index b682efec12..beb8064a33 100644 --- a/core/object/script_language_extension.h +++ b/core/object/script_language_extension.h @@ -676,13 +676,11 @@ public: if (native_info->get_class_category_func(instance, &gdext_class_category)) { p_list->push_back(PropertyInfo(gdext_class_category)); } -#ifndef DISABLE_DEPRECATED } else { Ref<Script> script = get_script(); if (script.is_valid()) { p_list->push_back(script->get_class_category()); } -#endif // DISABLE_DEPRECATED } } #endif // TOOLS_ENABLED |