mirror of
https://github.com/osukey/osukey.git
synced 2025-07-16 15:59:58 +09:00
Disallow adding to score after the player has failed
This commit is contained in:
@ -316,6 +316,9 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
/// <param name="result">The <see cref="JudgementResult"/> to apply.</param>
|
/// <param name="result">The <see cref="JudgementResult"/> to apply.</param>
|
||||||
protected virtual void ApplyResult(JudgementResult result)
|
protected virtual void ApplyResult(JudgementResult result)
|
||||||
{
|
{
|
||||||
|
if (HasFailed)
|
||||||
|
return;
|
||||||
|
|
||||||
result.ComboAtJudgement = Combo.Value;
|
result.ComboAtJudgement = Combo.Value;
|
||||||
result.HighestComboAtJudgement = HighestCombo.Value;
|
result.HighestComboAtJudgement = HighestCombo.Value;
|
||||||
result.HealthAtJudgement = Health.Value;
|
result.HealthAtJudgement = Health.Value;
|
||||||
|
Reference in New Issue
Block a user