mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
added spinner duration check - skip HitObjectReplay if duration is 0
This commit is contained in:
parent
288c4142aa
commit
fde4b03dab
@ -156,6 +156,9 @@ namespace osu.Game.Rulesets.Osu.Replays
|
||||
// TODO: Shouldn't the spinner always spin in the same direction?
|
||||
if (h is Spinner)
|
||||
{
|
||||
if ((h as Spinner).Duration == 0)
|
||||
return;
|
||||
|
||||
calcSpinnerStartPosAndDirection(((OsuReplayFrame)Frames[^1]).Position, out startPosition, out spinnerDirection);
|
||||
|
||||
Vector2 spinCentreOffset = SPINNER_CENTRE - ((OsuReplayFrame)Frames[^1]).Position;
|
||||
|
Loading…
Reference in New Issue
Block a user