You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix get_method from named lambda
This commit is contained in:
@@ -63,6 +63,10 @@ ObjectID GDScriptRPCCallable::get_object() const {
|
||||
return object->get_instance_id();
|
||||
}
|
||||
|
||||
StringName GDScriptRPCCallable::get_method() const {
|
||||
return method;
|
||||
}
|
||||
|
||||
void GDScriptRPCCallable::call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const {
|
||||
r_return_value = object->callp(method, p_arguments, p_argcount, r_call_error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user