Also ignore drum roll strong judgement

This commit is contained in:
Dan Balasescu 2022-09-06 17:27:29 +09:00
parent 792b410c04
commit a2f8ff825e
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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);