1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 22:29:28 +08:00

Remove unused method

This commit is contained in:
smoogipoo 2019-12-19 20:36:57 +09:00
parent 50fa6c5f77
commit 00546787c8

View File

@ -80,23 +80,5 @@ namespace osu.Game.Rulesets.Scoring
Health.Value = 1;
HasFailed = false;
}
/// <summary>
/// Checks if the score is in a failed state and notifies subscribers.
/// <para>
/// This can only ever notify subscribers once.
/// </para>
/// </summary>
private void updateFailed(JudgementResult result)
{
if (HasFailed)
return;
if (!DefaultFailCondition && FailConditions?.Invoke(this, result) != true)
return;
if (Failed?.Invoke() != false)
HasFailed = true;
}
}
}