1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Do not pass accent value on a reverted miss judgement

This commit is contained in:
Salman Ahmed 2020-08-19 08:18:30 +03:00
parent 885f8104f5
commit d4bde0afe5

View File

@ -47,6 +47,12 @@ namespace osu.Game.Rulesets.Catch.UI
if (!result.Judgement.AffectsCombo || !result.HasResult)
return;
if (result.Type == HitResult.Miss)
{
updateCombo(result.ComboAtJudgement, null);
return;
}
updateCombo(result.ComboAtJudgement, judgedObject.AccentColour.Value);
}