You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix return type of _get() virtual method
This commit is contained in:
@@ -1677,6 +1677,7 @@ void Object::_bind_methods() {
|
||||
#ifdef TOOLS_ENABLED
|
||||
MethodInfo miget("_get", PropertyInfo(Variant::STRING, "property"));
|
||||
miget.return_val.name = "Variant";
|
||||
miget.return_val.usage |= PROPERTY_USAGE_NIL_IS_VARIANT;
|
||||
BIND_VMETHOD(miget);
|
||||
|
||||
MethodInfo plget("_get_property_list");
|
||||
|
||||
Reference in New Issue
Block a user