mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
*Database -> *Store
Welcome back BeatmapManager
This commit is contained in:
@ -65,11 +65,11 @@ namespace osu.Desktop
|
||||
var filePaths = dropData.Select(f => f.ToString()).ToArray();
|
||||
|
||||
if (filePaths.All(f => Path.GetExtension(f) == @".osz"))
|
||||
Task.Run(() => BeatmapStore.Import(filePaths));
|
||||
Task.Run(() => BeatmapManager.Import(filePaths));
|
||||
else if (filePaths.All(f => Path.GetExtension(f) == @".osr"))
|
||||
Task.Run(() =>
|
||||
{
|
||||
var score = ScoreDatabase.ReadReplayFile(filePaths.First());
|
||||
var score = ScoreStore.ReadReplayFile(filePaths.First());
|
||||
Schedule(() => LoadScore(score));
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user