Fix hit explosions not being cleaned up correctly when rewinding

This commit is contained in:
Dean Herbert 2022-10-06 19:35:01 +09:00
parent f1ea61b1a2
commit e81f550150
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ protected override void PrepareForUse()
{
base.PrepareForUse();
LifetimeStart = Time.Current;
(skinnableExplosion?.Drawable as IHitExplosion)?.Animate(Result);
this.Delay(DURATION).Then().Expire();