1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 16:12:57 +08:00

Replace reaction time check with spins required check

This commit is contained in:
Bartłomiej Dach 2020-08-31 17:20:45 +02:00
parent 0655fc1473
commit 69ec2a76ef

View File

@ -156,7 +156,8 @@ namespace osu.Game.Rulesets.Osu.Replays
// TODO: Shouldn't the spinner always spin in the same direction? // TODO: Shouldn't the spinner always spin in the same direction?
if (h is Spinner spinner) if (h is Spinner spinner)
{ {
if (spinner.Duration < reactionTime) // spinners with 0 spins required will auto-complete - don't bother
if (spinner.SpinsRequired == 0)
return; return;
calcSpinnerStartPosAndDirection(((OsuReplayFrame)Frames[^1]).Position, out startPosition, out spinnerDirection); calcSpinnerStartPosAndDirection(((OsuReplayFrame)Frames[^1]).Position, out startPosition, out spinnerDirection);