menu_animation: don't update deleted tweens

This commit is contained in:
natinusala 2019-07-30 14:07:06 +02:00
parent 7935cc80ee
commit 863fd55951

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;