Fixed an issue where banana showers don't clear the plate when missing the last banana

This commit is contained in:
Darius Wattimena 2021-11-14 20:43:31 +01:00
parent dbe76b529b
commit 2c4f1817d3
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@
using osu.Game.Rulesets.Catch.Objects.Drawables;
using osu.Game.Rulesets.Catch.Replays;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
using osuTK;
@ -73,8 +72,8 @@ public void OnNewResult(DrawableCatchHitObject hitObject, JudgementResult result
{
Catcher.OnNewResult(hitObject, result);
if (!result.Type.IsScorable())
return;
// Ignore JuiceStreams and BananaShowers
if (!(hitObject is DrawablePalpableCatchHitObject)) return;
if (hitObject.HitObject.LastInCombo)
{