1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 15:27:20 +08:00

Remove pointless check

This commit is contained in:
Dean Herbert 2019-03-01 09:49:11 +09:00
parent 097062caf7
commit 67928ac1fe

View File

@ -628,8 +628,6 @@ namespace osu.Game.Screens.Select
private void clearScores(BeatmapInfo beatmap)
{
if (BeatmapDetails.Leaderboard.Scope != BeatmapLeaderboardScope.Local) return;
if (beatmap == null || beatmap.ID <= 0) return;
if (BeatmapDetails.Leaderboard.Scores == null || !BeatmapDetails.Leaderboard.Scores.Any()) return;