Apply review feedback

This commit is contained in:
Dean Herbert
2018-07-17 16:33:08 +09:00
parent 825941aff1
commit 9f933187e9
3 changed files with 7 additions and 7 deletions

View File

@ -49,8 +49,8 @@ namespace osu.Game.Rulesets.Catch.Difficulty
switch (hitObject)
{
// We want to only consider fruits that contribute to the combo. Droplets are addressed as accuracy and spinners are not relevant for "skill" calculations.
case Fruit _:
difficultyHitObjects.Add(new CatchDifficultyHitObject((CatchHitObject)hitObject, halfCatchWidth));
case Fruit fruit:
difficultyHitObjects.Add(new CatchDifficultyHitObject(fruit, halfCatchWidth));
break;
case JuiceStream _:
difficultyHitObjects.AddRange(hitObject.NestedHitObjects.OfType<CatchHitObject>().Where(o => !(o is TinyDroplet)).Select(o => new CatchDifficultyHitObject(o, halfCatchWidth)));