_get return type fix
This commit is contained in:
parent
0afa77a8a2
commit
826c51c70e
2 changed files with 3 additions and 1 deletions
|
|
@ -1723,7 +1723,7 @@ void Object::_bind_methods() {
|
|||
BIND_VMETHOD(MethodInfo("_set", PropertyInfo(Variant::STRING, "property"), PropertyInfo(Variant::NIL, "value")));
|
||||
#ifdef TOOLS_ENABLED
|
||||
MethodInfo miget("_get", PropertyInfo(Variant::STRING, "property"));
|
||||
miget.return_val.name = "var";
|
||||
miget.return_val.name = "Variant";
|
||||
BIND_VMETHOD(miget);
|
||||
|
||||
MethodInfo plget("_get_property_list");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue