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:
parent
d5714e63b9
commit
86020adf64
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user