summaryrefslogtreecommitdiffstats
path: root/scene/animation/tween.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/tween.cpp')
-rw-r--r--scene/animation/tween.cpp4
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;
}