mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Use BeatmapSetInfo instead of WorkingBeatmap
This commit is contained in:
@ -249,7 +249,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
if (beatmap == null)
|
||||
{
|
||||
performLoad();
|
||||
if (!Beatmap.IsDefault)
|
||||
performLoad();
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -390,7 +391,7 @@ namespace osu.Game.Screens.Select
|
||||
Beatmap.SetDefault();
|
||||
}
|
||||
|
||||
private void promptDelete(WorkingBeatmap beatmap)
|
||||
private void promptDelete(BeatmapSetInfo beatmap)
|
||||
{
|
||||
if (beatmap == null)
|
||||
return;
|
||||
@ -412,7 +413,7 @@ namespace osu.Game.Screens.Select
|
||||
if (state.Keyboard.ShiftPressed)
|
||||
{
|
||||
if (!Beatmap.IsDefault)
|
||||
promptDelete(Beatmap);
|
||||
promptDelete(Beatmap.Value.BeatmapSetInfo);
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user