Remove hacky LifetimeEnd workaround

This commit is contained in:
Alden Wu 2022-09-18 22:08:45 -07:00
parent a0e31018a1
commit 8474335aea

View File

@ -16,7 +16,6 @@ using osu.Framework.Graphics.Textures;
using osu.Framework.Timing;
using osu.Framework.Utils;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Skinning;
using osuTK;
using osuTK.Graphics;
@ -265,10 +264,6 @@ namespace osu.Game.Rulesets.Osu.Skinning
IsActive = false;
SmokeEndTime = time;
LifetimeEnd = time + LifetimeAfterSmokeEnd + 100;
// TODO: HYPER MEGA JANK WTF??
if (Parent is SkinnableDrawable)
Parent.LifetimeEnd = LifetimeEnd;
}
protected abstract override DrawNode CreateDrawNode();