diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2023-09-26 15:58:57 -0400 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2023-10-06 16:31:35 -0400 |
commit | 5e15586ec24126703f928954f8512f7ea330313b (patch) | |
tree | 35df4036ad428dd361f918f0cedbac1acf3271b1 /scene/animation/tween.cpp | |
parent | d31794c4a26e5e10fc30c34a1ae9722fd9f50123 (diff) | |
download | redot-engine-5e15586ec24126703f928954f8512f7ea330313b.tar.gz |
Fixes to allow object-less callables throughout Godot
This fixes #81887
Diffstat (limited to 'scene/animation/tween.cpp')
-rw-r--r-- | scene/animation/tween.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp index 1b8c410101..c778129eb6 100644 --- a/scene/animation/tween.cpp +++ b/scene/animation/tween.cpp @@ -675,7 +675,7 @@ bool CallbackTweener::step(double &r_delta) { return false; } - if (!callback.get_object()) { + if (!callback.is_valid()) { return false; } @@ -740,7 +740,7 @@ bool MethodTweener::step(double &r_delta) { return false; } - if (!callback.get_object()) { + if (!callback.is_valid()) { return false; } |