1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 03:42:58 +08:00

Disallow being able to add dummy beatmap

This commit is contained in:
smoogipoo 2020-09-02 23:34:38 +09:00
parent fd3ab41731
commit fca0324264

View File

@ -347,6 +347,8 @@ namespace osu.Game.Screens.Select
{
Debug.Assert(collectionBeatmaps != null);
addOrRemoveButton.Enabled.Value = !beatmap.IsDefault;
if (collectionBeatmaps.Contains(beatmap.Value.BeatmapInfo))
{
addOrRemoveButton.Icon = FontAwesome.Solid.MinusSquare;