mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Move HasFailed override to base ScoreProcessor
This commit is contained in:
parent
3af8345068
commit
c07e831b17
@ -53,7 +53,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// <summary>
|
||||
/// Whether the score is in a failed state.
|
||||
/// </summary>
|
||||
public virtual bool HasFailed => false;
|
||||
public virtual bool HasFailed => Health.Value == Health.MinValue;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this ScoreProcessor has already triggered the failed state.
|
||||
@ -143,8 +143,6 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// </summary>
|
||||
protected readonly List<Judgement> Judgements = new List<Judgement>();
|
||||
|
||||
public override bool HasFailed => Health.Value == Health.MinValue;
|
||||
|
||||
protected ScoreProcessor()
|
||||
{
|
||||
}
|
||||
@ -156,7 +154,6 @@ namespace osu.Game.Rulesets.Scoring
|
||||
rulesetContainer.OnJudgement += AddJudgement;
|
||||
|
||||
ComputeTargets(rulesetContainer.Beatmap);
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user