1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

Do not display "miss" bar if health is already zero

This commit is contained in:
Salman Ahmed 2023-10-01 15:25:34 +03:00
parent 7825bea959
commit eef099e69d

View File

@ -149,6 +149,10 @@ namespace osu.Game.Screens.Play.HUD
{ {
base.Miss(result); base.Miss(result);
if (result.HealthAtJudgement == 0.0)
// health is already empty, nothing should be displayed here.
return;
if (resetMissBarDelegate != null) if (resetMissBarDelegate != null)
resetMissBarDelegate.Cancel(); resetMissBarDelegate.Cancel();
else else