1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 06:49:53 +08:00

Fix delete/clear scores buttons not working

This commit is contained in:
Dean Herbert
2022-01-13 18:38:38 +09:00
Unverified
parent c33fe7bcc6
commit 54804ebfbd
+2 -2
View File
@@ -807,14 +807,14 @@ namespace osu.Game.Screens.Select
private void delete(BeatmapSetInfo beatmap)
{
if (beatmap == null || !beatmap.IsManaged) return;
if (beatmap == null) return;
dialogOverlay?.Push(new BeatmapDeleteDialog(beatmap));
}
private void clearScores(BeatmapInfo beatmapInfo)
{
if (beatmapInfo == null || !beatmapInfo.IsManaged) return;
if (beatmapInfo == null) return;
dialogOverlay?.Push(new BeatmapClearScoresDialog(beatmapInfo, () =>
// schedule done here rather than inside the dialog as the dialog may fade out and never callback.