summaryrefslogtreecommitdiff
path: root/scene/animation/tween.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/tween.cpp')
-rw-r--r--scene/animation/tween.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp
index 6f6f5d3aff..adc8f9c8cf 100644
--- a/scene/animation/tween.cpp
+++ b/scene/animation/tween.cpp
@@ -619,6 +619,8 @@ void Tween::_tween_process(float p_delta) {
};
object->call(data.key, (const Variant **) arg, data.args, error);
}
+ if (!repeat)
+ call_deferred("remove", object, data.key);
}
continue;
}