1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

_get return type fix

This commit is contained in:
Ramesh Ravone
2017-07-18 21:09:46 +05:30
parent 0afa77a8a2
commit 826c51c70e
2 changed files with 3 additions and 1 deletions

View File

@@ -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");