Fix tournament user stat population potentially using wrong ruleset

`OsuGameBase.Ruleset` is bound
[late](7d0470794b/osu.Game.Tournament/TournamentGameBase.cs (L169))
so we must use the ladder one during user retrieval.

Closes https://github.com/ppy/osu/issues/18363.
This commit is contained in:
Dean Herbert 2022-05-23 14:06:00 +09:00
parent 7d0470794b
commit afbb1fa750
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ private bool addSeedingBeatmaps()
public void PopulateUser(APIUser user, Action success = null, Action failure = null, bool immediate = false)
{
var req = new GetUserRequest(user.Id, Ruleset.Value);
var req = new GetUserRequest(user.Id, ladder.Ruleset.Value);
if (immediate)
{