diff --git a/osu.Game/Rulesets/Scoring/ScoreProcessor.cs b/osu.Game/Rulesets/Scoring/ScoreProcessor.cs
index 934b19b511..5a54c679dd 100644
--- a/osu.Game/Rulesets/Scoring/ScoreProcessor.cs
+++ b/osu.Game/Rulesets/Scoring/ScoreProcessor.cs
@@ -66,20 +66,15 @@ namespace osu.Game.Rulesets.Scoring
///
protected virtual bool HasCompleted => false;
- ///
- /// Whether the score is in a failed state.
- ///
- public virtual bool HasFailed => alreadyFailed;
-
- ///
- /// The conditions for failing
- ///
- protected virtual bool FailCondition => Health.Value == Health.MinValue;
-
///
/// Whether this ScoreProcessor has already triggered the failed state.
///
- private bool alreadyFailed;
+ public virtual bool HasFailed { get; private set; }
+
+ ///
+ /// The conditions for failing.
+ ///
+ protected virtual bool FailCondition => Health.Value == Health.MinValue;
protected ScoreProcessor()
{
@@ -115,7 +110,7 @@ namespace osu.Game.Rulesets.Scoring
Rank.Value = ScoreRank.X;
HighestCombo.Value = 0;
- alreadyFailed = false;
+ HasFailed = false;
}
///
@@ -126,11 +121,11 @@ namespace osu.Game.Rulesets.Scoring
///
protected void UpdateFailed()
{
- if (alreadyFailed || !FailCondition)
+ if (HasFailed || !FailCondition)
return;
if (Failed?.Invoke() != false)
- alreadyFailed = true;
+ HasFailed = true;
}
///