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:
parent
c46ea7bdef
commit
933314d724
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user