mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 00:53:10 +08:00
Fix SPM counter decreasing after spinner has already been completed
This commit is contained in:
parent
5a6864eb78
commit
4e8bcc9265
@ -267,7 +267,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
if (!SpmCounter.IsPresent && RotationTracker.Tracking)
|
if (!SpmCounter.IsPresent && RotationTracker.Tracking)
|
||||||
SpmCounter.FadeIn(HitObject.TimeFadeIn);
|
SpmCounter.FadeIn(HitObject.TimeFadeIn);
|
||||||
|
|
||||||
SpmCounter.SetRotation(Result.RateAdjustedRotation);
|
// don't update after end time to avoid the rate display dropping during fade out.
|
||||||
|
// this shouldn't be limited to StartTime as it causes weirdness with the underlying calculation, which is expecting updates during that period.
|
||||||
|
if (Time.Current <= HitObject.EndTime)
|
||||||
|
SpmCounter.SetRotation(Result.RateAdjustedRotation);
|
||||||
|
|
||||||
updateBonusScore();
|
updateBonusScore();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user