mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:43:22 +08:00
Do not display "miss" bar if health is already zero
This commit is contained in:
parent
7825bea959
commit
eef099e69d
@ -149,6 +149,10 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
base.Miss(result);
|
||||
|
||||
if (result.HealthAtJudgement == 0.0)
|
||||
// health is already empty, nothing should be displayed here.
|
||||
return;
|
||||
|
||||
if (resetMissBarDelegate != null)
|
||||
resetMissBarDelegate.Cancel();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user