summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-08-05 13:05:14 +0200
committerkobewi <kobewi4e@gmail.com>2021-08-06 13:07:34 +0200
commite092a132fe8f06f41303f4d3bc47a00e7e78b830 (patch)
treeb46d47a1d60ca6aeb00126fc34f49aac7be5e8e2 /scene/main
parent0cee8831b25377567bff8f46f7eaad8cb203dbf8 (diff)
Various fixes to Tween code
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/scene_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index dcbbebbc55..e74d669d0a 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -544,7 +544,7 @@ void SceneTree::process_tweens(float p_delta, bool p_physics) {
}
if (!E->get()->step(p_delta)) {
- E->get()->set_valid(false);
+ E->get()->clear();
tweens.erase(E);
}
if (E == L) {