1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 21:08:34 +08:00

Fix HR mod being applied to non-fruit objects

This commit is contained in:
smoogipoo
2019-03-18 18:36:16 +09:00
Unverified
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;