1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

More permissive IsHitResultAllow by default

This commit is contained in:
Dean Herbert 2019-09-06 15:37:30 +09:00
parent 6cdc87bd29
commit 4031f51745

View File

@ -93,18 +93,7 @@ namespace osu.Game.Rulesets.Scoring
/// </summary>
/// <param name="result">The result type to check.</param>
/// <returns>Whether the <see cref="HitResult"/> can be achieved.</returns>
public virtual bool IsHitResultAllowed(HitResult result)
{
switch (result)
{
case HitResult.Perfect:
case HitResult.Ok:
return false;
default:
return true;
}
}
public virtual bool IsHitResultAllowed(HitResult result) => true;
/// <summary>
/// Sets hit windows with values that correspond to a difficulty parameter.