Merge pull request #2531 from bojidar-bg/patch-4
Fix parameters of funcRef::call_func
This commit is contained in:
commit
99a3c1aaa1
|
@ -31,8 +31,7 @@ void FuncRef::_bind_methods() {
|
|||
|
||||
{
|
||||
MethodInfo mi;
|
||||
mi.name="call";
|
||||
mi.arguments.push_back( PropertyInfo( Variant::STRING, "method"));
|
||||
mi.name="call_func";
|
||||
Vector<Variant> defargs;
|
||||
for(int i=0;i<10;i++) {
|
||||
mi.arguments.push_back( PropertyInfo( Variant::NIL, "arg"+itos(i)));
|
||||
|
|
Loading…
Reference in New Issue