1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +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]
private HUDOverlay? hudOverlay { get; set; }
@ -122,8 +114,6 @@ namespace osu.Game.Screens.Play.HUD
{
if (judgement.IsHit && judgement.Type != HitResult.IgnoreHit)
Scheduler.AddOnce(Flash);
else if (judgement.Judgement.HealthIncreaseFor(judgement) < 0)
Scheduler.AddOnce(Miss);
}
protected override void Dispose(bool isDisposing)