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

Remove method for being unused

This commit is contained in:
Salman Ahmed 2023-12-04 23:23:58 +03:00
parent 5723715ea0
commit 4d82a55594

View File

@ -45,14 +45,6 @@ namespace osu.Game.Screens.Play.HUD
{ {
} }
/// <summary>
/// Triggered when a <see cref="Judgement"/> resulted in the player losing health.
/// Calls to this method are debounced.
/// </summary>
protected virtual void Miss()
{
}
[Resolved] [Resolved]
private HUDOverlay? hudOverlay { get; set; } private HUDOverlay? hudOverlay { get; set; }
@ -122,8 +114,6 @@ namespace osu.Game.Screens.Play.HUD
{ {
if (judgement.IsHit && judgement.Type != HitResult.IgnoreHit) if (judgement.IsHit && judgement.Type != HitResult.IgnoreHit)
Scheduler.AddOnce(Flash); Scheduler.AddOnce(Flash);
else if (judgement.Judgement.HealthIncreaseFor(judgement) < 0)
Scheduler.AddOnce(Miss);
} }
protected override void Dispose(bool isDisposing) protected override void Dispose(bool isDisposing)