Merge pull request #9228 from natinusala/master

menu_animation: don't update deleted tweens
This commit is contained in:
Twinaphex 2019-07-30 16:38:01 +02:00 committed by GitHub
commit 3b1ec7d30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -667,7 +667,7 @@ bool menu_animation_update(void)
{
struct tween *tween = da_getptr(anim.list, i);
if (!tween)
if (!tween || tween->deleted)
continue;
tween->running_since += delta_time;