mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:04:06 +08:00
Remove duplicate condition test
This commit is contained in:
parent
1644719893
commit
654345f380
@ -536,8 +536,6 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private void delete(BeatmapSetInfo beatmap)
|
||||
{
|
||||
if (beatmap == null) return;
|
||||
// Null check because no beatmaps actually causes beatmap.Beatmaps to be null
|
||||
if (beatmap == null || beatmap.ID <= 0) return;
|
||||
dialogOverlay?.Push(new BeatmapDeleteDialog(beatmap));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user