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:
parent
097062caf7
commit
67928ac1fe
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user