mirror of https://github.com/ppy/osu
Fix SPM counter decreasing after spinner has already been completed
This commit is contained in:
parent
5a6864eb78
commit
4e8bcc9265
|
@ -267,7 +267,10 @@ protected override void UpdateAfterChildren()
|
|||
if (!SpmCounter.IsPresent && RotationTracker.Tracking)
|
||||
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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue