1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 04:13:11 +08:00

Merge pull request #16856 from PercyDan54/relax-ignore-zero-length-spinner

Ignore short spinners for Relax mod
This commit is contained in:
Dan Balasescu 2022-02-14 14:36:46 +09:00 committed by GitHub
commit fdddeb7ed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,8 +87,8 @@ namespace osu.Game.Rulesets.Osu.Mods
requiresHold |= slider.Ball.IsHovered || h.IsHovered; requiresHold |= slider.Ball.IsHovered || h.IsHovered;
break; break;
case DrawableSpinner _: case DrawableSpinner spinner:
requiresHold = true; requiresHold |= spinner.HitObject.SpinsRequired > 0;
break; break;
} }
} }