From 03a4b8cbc86f6ba43d72840179271c9181482403 Mon Sep 17 00:00:00 2001 From: eska Date: Mon, 8 Aug 2016 17:49:30 +0200 Subject: [PATCH] Revert documentation of return type for FuncRef::call_func from b80c42e bind_native_method doesn't support this style of return type documentation. --- core/func_ref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/func_ref.cpp b/core/func_ref.cpp index 644d8b5b63c..29b06ae9a0f 100644 --- a/core/func_ref.cpp +++ b/core/func_ref.cpp @@ -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); }