1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 17:33:12 +08:00

Remove redundant statement (lifetime is set in base)

This commit is contained in:
ekrctb 2021-04-26 11:47:38 +09:00
parent b877a29737
commit e6474e6ff7

View File

@ -212,10 +212,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
// LifetimeStart is already computed using HitObjectLifetimeEntry's InitialLifetimeOffset.
// We override this with DHO's InitialLifetimeOffset for a non-pooled DHO.
if (entry is SyntheticHitObjectEntry)
entry.LifetimeStart = HitObject.StartTime - InitialLifetimeOffset;
LifetimeStart = entry.LifetimeStart;
LifetimeEnd = entry.LifetimeEnd;
LifetimeStart = HitObject.StartTime - InitialLifetimeOffset;
ensureEntryHasResult();