You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[GDScript] Fix get_method for lambda self Callables
This commit is contained in:
@@ -198,6 +198,10 @@ ObjectID GDScriptLambdaSelfCallable::get_object() const {
|
||||
return object->get_instance_id();
|
||||
}
|
||||
|
||||
StringName GDScriptLambdaSelfCallable::get_method() const {
|
||||
return function->get_name();
|
||||
}
|
||||
|
||||
int GDScriptLambdaSelfCallable::get_argument_count(bool &r_is_valid) const {
|
||||
if (function == nullptr) {
|
||||
r_is_valid = false;
|
||||
|
||||
Reference in New Issue
Block a user