Merge pull request #1466 from EVAST9919/auto-deleting-fix

Fix osu! deleting beatmaps on startup if MenuMusic is disabled
This commit is contained in:
Dan Balasescu 2017-11-06 13:51:54 +09:00 committed by GitHub
commit 4f52000f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,9 @@ namespace osu.Game.Screens.Menu
welcome = audio.Sample.Get(@"welcome");
seeya = audio.Sample.Get(@"seeya");
beatmaps.Delete(setInfo);
if (setInfo.Protected)
beatmaps.Delete(setInfo);
}
protected override void OnEntering(Screen last)