summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-09 13:54:55 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-10 07:17:51 +0200
commit78619a5866f44b057bc539e46a936f7580360800 (patch)
tree5ed9bb7c0b4b10e3979f5ada26505e62ba465c4a /core
parentb8420cda9c449160330ae30f1f89be7238502ee6 (diff)
Fixes method definitions with extra number of arguments
Diffstat (limited to 'core')
-rw-r--r--core/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp
index 91c6013de9..6509406a21 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -1673,7 +1673,7 @@ void Object::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_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", "name"), &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);