mirror of https://github.com/ppy/osu
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:
parent
7d0470794b
commit
afbb1fa750
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue