1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-17 22:17:25 +08:00

Use now-public Entry.SetLifetime method

This commit is contained in:
ekrctb 2021-04-27 15:24:52 +09:00
parent a2c0951d94
commit c9e6ca5378

View File

@ -100,11 +100,7 @@ namespace osu.Game.Rulesets.Objects.Pooling
base.LifetimeStart = start;
base.LifetimeEnd = end;
if (Entry != null)
{
Entry.LifetimeStart = start;
Entry.LifetimeEnd = end;
}
Entry?.SetLifetime(start, end);
}
private void free()