summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/class_db.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/godot_cpp/core/class_db.hpp')
-rw-r--r--include/godot_cpp/core/class_db.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp
index 7026a30..0802a45 100644
--- a/include/godot_cpp/core/class_db.hpp
+++ b/include/godot_cpp/core/class_db.hpp
@@ -179,7 +179,7 @@ void ClassDB::_register_class(bool p_virtual) {
is_abstract, // GDExtensionBool is_abstract;
T::set_bind, // GDExtensionClassSet set_func;
T::get_bind, // GDExtensionClassGet get_func;
- T::get_property_list_bind, // GDExtensionClassGetPropertyList get_property_list_func;
+ T::has_get_property_list() ? T::get_property_list_bind : nullptr, // GDExtensionClassGetPropertyList get_property_list_func;
T::free_property_list_bind, // GDExtensionClassFreePropertyList free_property_list_func;
T::property_can_revert_bind, // GDExtensionClassPropertyCanRevert property_can_revert_func;
T::property_get_revert_bind, // GDExtensionClassPropertyGetRevert property_get_revert_func;