mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
Fix score processor no longer applying results when failing in multiplayer match
This commit is contained in:
parent
ea641bb8d2
commit
a25be9927d
@ -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())
|
||||
|
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user