summaryrefslogtreecommitdiff
path: root/scene/main/scene_tree.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-14 10:29:50 +0200
committerGitHub <noreply@github.com>2021-09-14 10:29:50 +0200
commit195ea41a7ad3dd83d33162d2656e7e383674d3aa (patch)
tree1b36c889d0811ebd22acbdb1d7253207ac1d712f /scene/main/scene_tree.cpp
parent0d759df0543d48dd0afd8a027a2e6659e38755a2 (diff)
parente092a132fe8f06f41303f4d3bc47a00e7e78b830 (diff)
Merge pull request #51237 from KoBeWi/tween_fix()
Various fixes to Tween code
Diffstat (limited to 'scene/main/scene_tree.cpp')
-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 8452f1cb1a..e1b1b356a9 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) {