Check if selected scope requires API

This commit is contained in:
iiSaLMaN
2019-07-21 03:07:27 +03:00
parent 2ff7979d29
commit 842417cf42
3 changed files with 9 additions and 1 deletions

View File

@ -79,6 +79,8 @@ namespace osu.Game.Screens.Select.Leaderboards
};
}
protected override bool IsOnlineScope() => Scope != BeatmapLeaderboardScope.Local;
protected override APIRequest FetchScores(Action<IEnumerable<ScoreInfo>> scoresCallback)
{
if (Scope == BeatmapLeaderboardScope.Local)