diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-08-29 16:10:14 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-08-29 16:10:14 +0200 |
commit | 2caf5ae453863bb992bb18abb3cfb725c556f82c (patch) | |
tree | ab017c534ceb318e7e0787d13f3236f9842bb718 /core/variant | |
parent | 922689c801047c63902b190f402cd6207c83e7da (diff) | |
download | redot-engine-2caf5ae453863bb992bb18abb3cfb725c556f82c.tar.gz |
Fix comparison of `Callable`s with binds
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/callable_bind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant/callable_bind.cpp b/core/variant/callable_bind.cpp index e493e50467..a5629d5d39 100644 --- a/core/variant/callable_bind.cpp +++ b/core/variant/callable_bind.cpp @@ -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 { |