mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 16:37:26 +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")]
|
[JsonProperty("leaderboard")]
|
||||||
public List<APIUserScoreAggregate> Leaderboard;
|
public List<APIUserScoreAggregate> Leaderboard;
|
||||||
|
|
||||||
[JsonProperty("own_score")]
|
[JsonProperty("user_score")]
|
||||||
public APIUserScoreAggregate OwnScore;
|
public APIUserScoreAggregate UserScore;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Screens.Multi.Match.Components
|
|||||||
req.Success += r =>
|
req.Success += r =>
|
||||||
{
|
{
|
||||||
scoresCallback?.Invoke(r.Leaderboard);
|
scoresCallback?.Invoke(r.Leaderboard);
|
||||||
TopScore = r.OwnScore;
|
TopScore = r.UserScore;
|
||||||
};
|
};
|
||||||
|
|
||||||
return req;
|
return req;
|
||||||
|
Loading…
Reference in New Issue
Block a user