Remove necessity of using CurrentModeRank as a fallback

This commit is contained in:
Salman Ahmed
2021-02-09 08:28:09 +03:00
parent 90aa6256d7
commit a1496cd8f3
3 changed files with 14 additions and 9 deletions

View File

@ -155,7 +155,10 @@ namespace osu.Game.Tests.Visual.Multiplayer
{
Id = i,
Username = $"User {i}",
CurrentModeRank = RNG.Next(1, 100000),
AllStatistics =
{
{ Ruleset.Value, new UserStatistics { GlobalRank = RNG.Next(1, 100000) } }
},
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c3.jpg",
});
@ -193,7 +196,10 @@ namespace osu.Game.Tests.Visual.Multiplayer
{
Id = 0,
Username = "User 0",
CurrentModeRank = RNG.Next(1, 100000),
AllStatistics =
{
{ Ruleset.Value, new UserStatistics { GlobalRank = RNG.Next(1, 100000) } }
},
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c3.jpg",
});