mirror of
https://github.com/osukey/osukey.git
synced 2025-06-24 12:47:56 +09:00
Remove skinnable parents at the same time as their smoke children
This commit is contained in:
parent
929eb8559e
commit
c1da3bc9cf
@ -7,6 +7,7 @@ using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Input;
|
||||
using osu.Framework.Input.Bindings;
|
||||
using osu.Framework.Input.Events;
|
||||
using osu.Game.Rulesets.Osu.Skinning;
|
||||
using osu.Game.Rulesets.Osu.Skinning.Default;
|
||||
using osu.Game.Skinning;
|
||||
using osuTK;
|
||||
@ -44,6 +45,9 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
{
|
||||
isSmoking = false;
|
||||
SmokeEnded?.Invoke(Time.Current);
|
||||
|
||||
foreach (SkinnableDrawable skinnable in Children)
|
||||
skinnable.LifetimeEnd = skinnable.Drawable.LifetimeEnd;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user