Clobber in a gameplay test

This commit is contained in:
smoogipoo
2020-08-21 02:01:29 +09:00
parent 40a456170b
commit f956c9fe37
2 changed files with 21 additions and 3 deletions

View File

@ -226,9 +226,8 @@ namespace osu.Game.Rulesets.Catch.UI
catchObjectPosition >= catcherPosition - halfCatchWidth &&
catchObjectPosition <= catcherPosition + halfCatchWidth;
// only update hyperdash state if we are catching a fruit.
// exceptions are Droplets and JuiceStreams.
if (!(fruit is Fruit)) return validCatch;
// only update hyperdash state if we are catching a fruit or a droplet (and not a tiny droplet).
if (!(fruit is Fruit || fruit is Droplet) || fruit is TinyDroplet) return validCatch;
if (validCatch && fruit.HyperDash)
{