mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Split out BeatmapDatabase into BeatmapStore
Hide database functionality at a lower level in preparation from eventually making it private.
This commit is contained in:
@ -99,7 +99,7 @@ namespace osu.Game
|
||||
if (args?.Length > 0)
|
||||
{
|
||||
var paths = args.Where(a => !a.StartsWith(@"-"));
|
||||
Task.Run(() => BeatmapDatabase.Import(paths.ToArray()));
|
||||
Task.Run(() => BeatmapStore.Import(paths.ToArray()));
|
||||
}
|
||||
|
||||
dependencies.Cache(this);
|
||||
@ -140,7 +140,7 @@ namespace osu.Game
|
||||
return;
|
||||
}
|
||||
|
||||
Beatmap.Value = BeatmapDatabase.GetWorkingBeatmap(s.Beatmap);
|
||||
Beatmap.Value = BeatmapStore.GetWorkingBeatmap(s.Beatmap);
|
||||
|
||||
menu.Push(new PlayerLoader(new ReplayPlayer(s.Replay)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user