mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +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