mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:58:21 +08:00
Fix incorrect count of beatmaps available to import
This commit is contained in:
parent
a443200d0d
commit
70bd40ce44
@ -40,7 +40,7 @@ namespace osu.Game.Database
|
|||||||
Importer = importer;
|
Importer = importer;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task<int> GetAvailableCount(StableStorage stableStorage) => Task.Run(() => GetStableImportPaths(stableStorage).Count());
|
public Task<int> GetAvailableCount(StableStorage stableStorage) => Task.Run(() => GetStableImportPaths(PrepareStableStorage(stableStorage)).Count());
|
||||||
|
|
||||||
public Task ImportFromStableAsync(StableStorage stableStorage)
|
public Task ImportFromStableAsync(StableStorage stableStorage)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user