Merge pull request #9048 from bdach/hide-catch-judgements-in-mania

Disallow catch-specific judgements in mania
This commit is contained in:
Dean Herbert
2020-05-18 15:43:44 +09:00
committed by GitHub

View File

@ -7,5 +7,20 @@ namespace osu.Game.Rulesets.Mania.Scoring
{
public class ManiaHitWindows : HitWindows
{
public override bool IsHitResultAllowed(HitResult result)
{
switch (result)
{
case HitResult.Perfect:
case HitResult.Great:
case HitResult.Good:
case HitResult.Ok:
case HitResult.Meh:
case HitResult.Miss:
return true;
}
return false;
}
}
}