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:
parent
7825bea959
commit
eef099e69d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user