mirror of
https://github.com/godotengine/godot.git
synced 2025-03-26 00:16:37 +08:00
Merge pull request #81131 from AThousandShips/callable_fix
Fix comparison of `Callable`s with binds
This commit is contained in:
commit
bbdd1aaa38
@ -88,7 +88,7 @@ ObjectID CallableCustomBind::get_object() const {
|
||||
}
|
||||
|
||||
const Callable *CallableCustomBind::get_base_comparator() const {
|
||||
return &callable;
|
||||
return callable.get_base_comparator();
|
||||
}
|
||||
|
||||
int CallableCustomBind::get_bound_arguments_count() const {
|
||||
@ -222,7 +222,7 @@ ObjectID CallableCustomUnbind::get_object() const {
|
||||
}
|
||||
|
||||
const Callable *CallableCustomUnbind::get_base_comparator() const {
|
||||
return &callable;
|
||||
return callable.get_base_comparator();
|
||||
}
|
||||
|
||||
int CallableCustomUnbind::get_bound_arguments_count() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user