Browse Source

Merge pull request #2531 from bojidar-bg/patch-4

Fix parameters of funcRef::call_func
Juan Linietsky 10 years ago
parent
commit
99a3c1aaa1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      core/func_ref.cpp

+ 1 - 2
core/func_ref.cpp

@@ -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)));