1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 17:27:24 +08:00

Fix crash at results screen when hidden is enabled and S rank becomes A due to miss

Closes https://github.com/ppy/osu/issues/26692.
This commit is contained in:
Dean Herbert 2024-01-25 14:57:42 +09:00
parent f22bfa350a
commit 37e370e654
No known key found for this signature in database

View File

@ -417,7 +417,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Accuracy
accuracyCircle
.FillTo(accuracyS - NOTCH_WIDTH_PERCENTAGE / 2 - visual_alignment_offset, 70, Easing.OutQuint);
badges.Single(b => b.Rank == ScoreRank.S)
badges.Single(b => b.Rank == getRank(ScoreRank.S))
.FadeOut(70, Easing.OutQuint);
}
}