1
0
mirror of https://github.com/ppy/osu synced 2025-03-31 23:58:37 +00:00

Fix non-miss drawable judgements fading out instantly on triangles skin

`else if` proves to be insidious once again.
This commit is contained in:
Bartłomiej Dach 2024-01-22 14:23:46 +01:00
parent 47e9846315
commit 17d05b0fdf
No known key found for this signature in database

View File

@ -49,8 +49,10 @@ namespace osu.Game.Rulesets.Judgements
this.ScaleTo(1.2f, 100, Easing.In); this.ScaleTo(1.2f, 100, Easing.In);
this.FadeOutFromOne(400); this.FadeOutFromOne(400);
return;
} }
else if (Result.IsMiss())
if (Result.IsMiss())
{ {
this.ScaleTo(1.6f); this.ScaleTo(1.6f);
this.ScaleTo(1, 100, Easing.In); this.ScaleTo(1, 100, Easing.In);
@ -60,10 +62,10 @@ namespace osu.Game.Rulesets.Judgements
this.RotateTo(0); this.RotateTo(0);
this.RotateTo(40, 800, Easing.InQuint); this.RotateTo(40, 800, Easing.InQuint);
}
this.FadeOutFromOne(800); this.FadeOutFromOne(800);
} }
}
public Drawable? GetAboveHitObjectsProxiedContent() => null; public Drawable? GetAboveHitObjectsProxiedContent() => null;
} }