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:
parent
6cdc87bd29
commit
4031f51745
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user