1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Revert invalid code transformation

This commit is contained in:
ekrctb 2021-06-01 14:22:12 +09:00
parent d5714e63b9
commit 86020adf64

View File

@ -37,6 +37,8 @@ namespace osu.Game.Rulesets.Objects.Pooling
if (Entry == null) return;
// Cannot write it as `base.LifetimeStart = Entry.LifetimeStart = value` because the change may be blocked (when `HitObjectLifetimeEntry.KeepAlive` is true).
Entry.LifetimeStart = value;
base.LifetimeStart = Entry.LifetimeStart = value;
}
}
@ -51,7 +53,8 @@ namespace osu.Game.Rulesets.Objects.Pooling
if (Entry == null) return;
base.LifetimeEnd = Entry.LifetimeEnd = value;
Entry.LifetimeEnd = value;
base.LifetimeEnd = Entry.LifetimeEnd;
}
}