Do not generate new judgement line on miss

This commit is contained in:
Andrei Zavatski 2019-08-11 19:04:56 +03:00
parent 5e0ac28ca8
commit 3136d46c7f

View File

@ -99,6 +99,9 @@ namespace osu.Game.Screens.Play.HUD
public void OnNewJudgement(JudgementResult judgement) public void OnNewJudgement(JudgementResult judgement)
{ {
if (!judgement.IsHit)
return;
Container judgementLine; Container judgementLine;
Add(judgementLine = CreateJudgementLine(judgement)); Add(judgementLine = CreateJudgementLine(judgement));