mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 15:12:57 +08:00
Fix results screen showing other rank badges on F rank
This commit is contained in:
parent
2ccd0e3692
commit
47f0b86018
@ -351,12 +351,15 @@ namespace osu.Game.Screens.Ranking.Expanded.Accuracy
|
|||||||
|
|
||||||
int badgeNum = 0;
|
int badgeNum = 0;
|
||||||
|
|
||||||
|
if (score.Rank != ScoreRank.F)
|
||||||
|
{
|
||||||
foreach (var badge in badges)
|
foreach (var badge in badges)
|
||||||
{
|
{
|
||||||
if (badge.Accuracy > score.Accuracy)
|
if (badge.Accuracy > score.Accuracy)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
using (BeginDelayedSequence(inverseEasing(ACCURACY_TRANSFORM_EASING, Math.Min(accuracyX - virtual_ss_percentage, badge.Accuracy) / targetAccuracy) * ACCURACY_TRANSFORM_DURATION))
|
using (BeginDelayedSequence(
|
||||||
|
inverseEasing(ACCURACY_TRANSFORM_EASING, Math.Min(accuracyX - virtual_ss_percentage, badge.Accuracy) / targetAccuracy) * ACCURACY_TRANSFORM_DURATION))
|
||||||
{
|
{
|
||||||
badge.Appear();
|
badge.Appear();
|
||||||
|
|
||||||
@ -372,6 +375,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Accuracy
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
using (BeginDelayedSequence(TEXT_APPEAR_DELAY))
|
using (BeginDelayedSequence(TEXT_APPEAR_DELAY))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user