Improve and clarify paused Tweens

This commit is contained in:
kobewi
2023-07-25 13:29:30 +02:00
parent f6187014ec
commit dbecf8bd1a
2 changed files with 6 additions and 4 deletions

View File

@ -284,10 +284,6 @@ bool Tween::step(double p_delta) {
return false;
}
if (!running) {
return true;
}
if (is_bound) {
Node *node = get_bound_node();
if (node) {
@ -299,6 +295,10 @@ bool Tween::step(double p_delta) {
}
}
if (!running) {
return true;
}
if (!started) {
if (tweeners.is_empty()) {
String tween_id;