summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames <gotnospirit@gmail.com>2018-08-09 14:48:56 +0200
committerJames <gotnospirit@gmail.com>2018-08-09 14:48:56 +0200
commit796088a9116730f26797f783aec4d4c87e11aeb6 (patch)
tree0cfa402b6db9ef18aed3e55345abe858cf7d2400
parenta71a5fc0c3f5d487d3f18c3b9e9a768052795e86 (diff)
interpolation was not removed because of id mismatch
-rw-r--r--scene/animation/tween.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp
index 81fdc32788..ac8751f2bb 100644
--- a/scene/animation/tween.cpp
+++ b/scene/animation/tween.cpp
@@ -615,7 +615,7 @@ void Tween::_tween_process(float p_delta) {
emit_signal("tween_completed", object, NodePath(Vector<StringName>(), data.key, false));
// not repeat mode, remove completed action
if (!repeat)
- call_deferred("_remove", object, NodePath(Vector<StringName>(), data.key, false), true);
+ call_deferred("_remove", object, data.concatenated_key, true);
} else if (!repeat)
all_finished = all_finished && data.finish;
}