Browse Source

Bindings: Fix Object::get_meta return type.

The method was shown as void in the docs.
Andreas Haas 8 years ago
parent
commit
2b7b67b7b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/object.cpp

+ 1 - 1
core/object.cpp

@@ -1655,7 +1655,7 @@ void Object::_bind_methods() {
 	ClassDB::bind_method(D_METHOD("get_script:Script"), &Object::get_script);
 
 	ClassDB::bind_method(D_METHOD("set_meta", "name", "value"), &Object::set_meta);
-	ClassDB::bind_method(D_METHOD("get_meta", "name", "value"), &Object::get_meta);
+	ClassDB::bind_method(D_METHOD("get_meta:Variant", "name", "value"), &Object::get_meta);
 	ClassDB::bind_method(D_METHOD("has_meta", "name"), &Object::has_meta);
 	ClassDB::bind_method(D_METHOD("get_meta_list"), &Object::_get_meta_list_bind);