mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 17:27:24 +08:00
Ignore soft-deleted beatmaps when trying to present from notification
This commit is contained in:
parent
a96a66bc9e
commit
35649d137c
@ -630,6 +630,12 @@ namespace osu.Game
|
||||
|
||||
var detachedSet = databasedSet.PerformRead(s => s.Detach());
|
||||
|
||||
if (detachedSet.DeletePending)
|
||||
{
|
||||
Logger.Log("The requested beatmap has since been deleted.", LoggingTarget.Information);
|
||||
return;
|
||||
}
|
||||
|
||||
PerformFromScreen(screen =>
|
||||
{
|
||||
// Find beatmaps that match our predicate.
|
||||
|
Loading…
Reference in New Issue
Block a user