Skip to content

Commit

Permalink
Also ignore drum roll strong judgement
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Sep 6, 2022
1 parent 792b410 commit a2f8ff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game.Rulesets.Taiko/Objects/DrumRoll.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ private void createTicks(CancellationToken cancellationToken)

public class StrongNestedHit : StrongNestedHitObject
{
// The strong hit of the drum roll doesn't actually provide any score.
public override Judgement CreateJudgement() => new IgnoreJudgement();
}

#region LegacyBeatmapEncoder
Expand Down
3 changes: 3 additions & 0 deletions osu.Game.Rulesets.Taiko/UI/TaikoPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ internal void OnNewResult(DrawableHitObject judgedObject, JudgementResult result
break;

default:
if (!result.Type.IsScorable())
break;

judgementContainer.Add(judgementPools[result.Type].Get(j =>
{
j.Apply(result, judgedObject);
Expand Down

0 comments on commit a2f8ff8

Please sign in to comment.