mirror of https://github.com/ppy/osu
use extension method to check accuracy impact
This commit is contained in:
parent
e0f3fa1af6
commit
150195b887
|
@ -51,7 +51,7 @@ public class ModAccuracyChallenge : ModFailCondition, IApplicableToScoreProcesso
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue