Fix parallel Tweens not ending correctly

This commit is contained in:
kobewi 2021-10-28 21:04:22 +02:00
parent 9fb9b99cab
commit 3ed20a2f5d
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ bool Tween::step(float p_delta) {
float temp_delta = rem_delta;
// Turns to true if any Tweener returns true (i.e. is still not finished).
step_active = tweener->step(temp_delta) || step_active;
step_delta = MIN(temp_delta, rem_delta);
step_delta = MIN(temp_delta, step_delta);
}
rem_delta = step_delta;