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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user