mirror of
https://github.com/ppy/osu
synced 2025-01-01 20:02:14 +00:00
Remove hacky LifetimeEnd workaround
This commit is contained in:
parent
a0e31018a1
commit
8474335aea
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user