1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

use extension method to check accuracy impact

This commit is contained in:
Gabe Livengood 2023-01-18 12:24:41 -05:00
parent e0f3fa1af6
commit 150195b887

View File

@ -51,7 +51,7 @@ namespace osu.Game.Rulesets.Mods
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result)
{
if (!result.Type.IsScorable() || result.Type.IsBonus())
if (!result.Type.AffectsAccuracy())
return false;
return getAccuracyWithImminentResultAdded(result) < MinimumAccuracy.Value;