1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 12:50:38 +08:00

Fix score processor no longer applying results when failing in multiplayer match

This commit is contained in:
Salman Ahmed
2024-01-27 19:12:03 +03:00
Unverified
parent ea641bb8d2
commit a25be9927d
2 changed files with 6 additions and 6 deletions
@@ -211,9 +211,6 @@ namespace osu.Game.Rulesets.Scoring
result.ComboAtJudgement = Combo.Value;
result.HighestComboAtJudgement = HighestCombo.Value;
if (result.FailedAtJudgement)
return;
ScoreResultCounts[result.Type] = ScoreResultCounts.GetValueOrDefault(result.Type) + 1;
if (result.Type.IncreasesCombo())
@@ -267,9 +264,6 @@ namespace osu.Game.Rulesets.Scoring
Combo.Value = result.ComboAtJudgement;
HighestCombo.Value = result.HighestComboAtJudgement;
if (result.FailedAtJudgement)
return;
ScoreResultCounts[result.Type] = ScoreResultCounts.GetValueOrDefault(result.Type) - 1;
if (result.Judgement.MaxResult.AffectsAccuracy())
+6
View File
@@ -357,6 +357,9 @@ namespace osu.Game.Screens.Play
DrawableRuleset.NewResult += r =>
{
if (GameplayState.ShownFailAnimation)
return;
HealthProcessor.ApplyResult(r);
ScoreProcessor.ApplyResult(r);
GameplayState.ApplyResult(r);
@@ -364,6 +367,9 @@ namespace osu.Game.Screens.Play
DrawableRuleset.RevertResult += r =>
{
if (GameplayState.ShownFailAnimation)
return;
HealthProcessor.RevertResult(r);
ScoreProcessor.RevertResult(r);
};