mirror of
https://github.com/ppy/osu
synced 2025-01-22 05:43:14 +00:00
Fix HR mod being applied to non-fruit objects
This commit is contained in:
parent
9cabd12c45
commit
bb8171b88a
@ -20,6 +20,9 @@ namespace osu.Game.Rulesets.Catch.Mods
|
||||
|
||||
public void ApplyToHitObject(HitObject hitObject)
|
||||
{
|
||||
if (!(hitObject is Fruit))
|
||||
return;
|
||||
|
||||
var catchObject = (CatchHitObject)hitObject;
|
||||
|
||||
float position = catchObject.X;
|
||||
|
Loading…
Reference in New Issue
Block a user