mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Revert invalid code transformation
This commit is contained in:
@ -37,6 +37,8 @@ namespace osu.Game.Rulesets.Objects.Pooling
|
|||||||
|
|
||||||
if (Entry == null) return;
|
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;
|
base.LifetimeStart = Entry.LifetimeStart = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -51,7 +53,8 @@ namespace osu.Game.Rulesets.Objects.Pooling
|
|||||||
|
|
||||||
if (Entry == null) return;
|
if (Entry == null) return;
|
||||||
|
|
||||||
base.LifetimeEnd = Entry.LifetimeEnd = value;
|
Entry.LifetimeEnd = value;
|
||||||
|
base.LifetimeEnd = Entry.LifetimeEnd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user