mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Make RealmArchiveModelManager.Update
work using automapper
This commit is contained in:
@ -123,11 +123,7 @@ namespace osu.Game.Screens.Menu
|
||||
// this could happen if a user has nuked their files store. for now, reimport to repair this.
|
||||
var import = beatmaps.Import(new ZipArchiveReader(game.Resources.GetStream($"Tracks/{BeatmapFile}"), BeatmapFile)).GetResultSafely();
|
||||
|
||||
import?.PerformWrite(b =>
|
||||
{
|
||||
b.Protected = true;
|
||||
beatmaps.Update(b);
|
||||
});
|
||||
import?.PerformWrite(b => b.Protected = true);
|
||||
|
||||
loadThemedIntro();
|
||||
}
|
||||
|
Reference in New Issue
Block a user