Merge pull request #6078 from eska014/2.1-fix-call_func

Revert documentation of return type for FuncRef::call_func from b80c42e
This commit is contained in:
Rémi Verschelde 2016-08-08 18:23:43 +02:00 committed by GitHub
commit 229b172977

View File

@ -65,7 +65,7 @@ void FuncRef::_bind_methods() {
mi.arguments.push_back( PropertyInfo( Variant::NIL, "arg"+itos(i)));
defargs.push_back(Variant());
}
ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"call_func:Variant",&FuncRef::call_func,mi,defargs);
ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"call_func",&FuncRef::call_func,mi,defargs);
}