mirror of
https://github.com/osukey/osukey.git
synced 2025-07-16 07:49:55 +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>
|
||||
protected virtual void ApplyResult(JudgementResult result)
|
||||
{
|
||||
if (HasFailed)
|
||||
return;
|
||||
|
||||
result.ComboAtJudgement = Combo.Value;
|
||||
result.HighestComboAtJudgement = HighestCombo.Value;
|
||||
result.HealthAtJudgement = Health.Value;
|
||||
|
Reference in New Issue
Block a user