mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
Always use current timing point for circle piece animation
Using `LifetimeStart` seemed arbitrary and wrong not only in a compatibility-with-stable sense, but also in a general sanity sense (why would each object potentially be using a different timing point to animate?)
This commit is contained in:
parent
38f2a27f53
commit
ce7af0df63
@ -117,7 +117,7 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
|
||||
|
||||
if (beatSyncProvider?.ControlPoints != null)
|
||||
{
|
||||
beatLength = beatSyncProvider.ControlPoints.TimingPointAt(LifetimeStart).BeatLength;
|
||||
beatLength = beatSyncProvider.ControlPoints.TimingPointAt(Time.Current).BeatLength;
|
||||
|
||||
animationFrame = Time.Current % ((beatLength * 2) / multiplier) >= beatLength / multiplier ? 0 : 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user