mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 06:42:56 +08:00
Fix delete/clear scores buttons not working
This commit is contained in:
parent
c33fe7bcc6
commit
54804ebfbd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user