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:
parent
5e77e8cfcf
commit
9e3b809cab
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user