1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Rename to user_score to match API

This commit is contained in:
smoogipoo 2020-09-01 15:42:47 +09:00
parent 5e77e8cfcf
commit 9e3b809cab
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ namespace osu.Game.Online.Multiplayer
[JsonProperty("leaderboard")]
public List<APIUserScoreAggregate> Leaderboard;
[JsonProperty("own_score")]
public APIUserScoreAggregate OwnScore;
[JsonProperty("user_score")]
public APIUserScoreAggregate UserScore;
}
}

View File

@ -42,7 +42,7 @@ namespace osu.Game.Screens.Multi.Match.Components
req.Success += r =>
{
scoresCallback?.Invoke(r.Leaderboard);
TopScore = r.OwnScore;
TopScore = r.UserScore;
};
return req;