1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 20:50:41 +08:00

Ensure to never display "0th" placement

This commit is contained in:
Dan Balasescu
2025-10-28 19:35:15 +09:00
Unverified
parent b1a421c22b
commit a40230da4b
@@ -414,6 +414,9 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match
if (!matchmakingState.Users.UserDictionary.TryGetValue(User.Id, out MatchmakingUser? userScore))
return;
if (userScore.Placement == 0)
return;
rankText.Text = userScore.Placement.Ordinalize(CultureInfo.CurrentCulture);
rankText.FadeColour(SubScreenResults.ColourForPlacement(userScore.Placement));
scoreText.Text = $"{userScore.Points} pts";