mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 07:01:06 +00:00
Fix get_method from named lambda
(cherry picked from commit 793cc080cb)
This commit is contained in:
parent
ed94e3eb79
commit
bede7fa0d8
5 changed files with 11 additions and 1 deletions
|
|
@ -67,6 +67,10 @@ ObjectID GDScriptLambdaCallable::get_object() const {
|
|||
return script->get_instance_id();
|
||||
}
|
||||
|
||||
StringName GDScriptLambdaCallable::get_method() const {
|
||||
return function->get_name();
|
||||
}
|
||||
|
||||
void GDScriptLambdaCallable::call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const {
|
||||
int captures_amount = captures.size();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue