1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

Remove unnecessary method

This commit is contained in:
smoogipoo 2020-04-07 14:50:11 +09:00
parent c46ea7bdef
commit 933314d724

View File

@ -50,14 +50,7 @@ namespace osu.Game.Online.Leaderboards
private void fetchAndLoadTopScore()
{
var score = fetchTopScore();
loadTopScore(score);
}
private void loadTopScore(ScoreInfo score)
{
var rank = score?.Rank;
var rank = fetchTopScore()?.Rank;
// toggle the display of this drawable
// we do not want empty space if there is no rank to be displayed