From 6ab3213a557fac60d20b1e06db96a7f9e97d243a Mon Sep 17 00:00:00 2001 From: Karroffel Date: Mon, 13 Mar 2017 16:45:27 +0100 Subject: fixed ClassDB inconsistencies fixes #7960 --- core/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/object.cpp') diff --git a/core/object.cpp b/core/object.cpp index e9b332faf..fe6f120c1 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1587,7 +1587,7 @@ void Object::_bind_methods() { ClassDB::bind_method(D_METHOD("get_class"), &Object::get_class); ClassDB::bind_method(D_METHOD("is_class", "type"), &Object::is_class); ClassDB::bind_method(D_METHOD("set", "property", "value"), &Object::_set_bind); - ClassDB::bind_method(D_METHOD("get", "property"), &Object::_get_bind); + ClassDB::bind_method(D_METHOD("get:Variant", "property"), &Object::_get_bind); ClassDB::bind_method(D_METHOD("get_property_list"), &Object::_get_property_list_bind); ClassDB::bind_method(D_METHOD("get_method_list"), &Object::_get_method_list_bind); ClassDB::bind_method(D_METHOD("notification", "what", "reversed"), &Object::notification, DEFVAL(false)); -- cgit v1.2.3-70-g09d2