Merge pull request #54359 from KoBeWi/tween_bugged()

This commit is contained in:
Rémi Verschelde 2021-10-29 00:02:47 +02:00 committed by GitHub
commit d3547be9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;