1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 00:37:20 +08:00

Reset DrawableHitObject lifetimes on state change

This commit is contained in:
Dean Herbert 2019-09-07 14:44:44 +09:00
parent f51ff55328
commit 7f2d14416a

View File

@ -153,6 +153,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
if (UseTransformStateManagement)
{
lifetimeStart = null;
LifetimeEnd = double.MaxValue;
double transformTime = HitObject.StartTime - InitialLifetimeOffset;
base.ApplyTransformsAt(transformTime, true);