Update with framework-side storage changes

This commit is contained in:
smoogipoo
2020-07-01 17:12:07 +09:00
parent 3fbb2b3f42
commit ab15b6031d
2 changed files with 6 additions and 4 deletions

View File

@ -312,11 +312,13 @@ namespace osu.Game
base.SetHost(host);
// may be non-null for certain tests
Storage ??= new OsuStorage(host);
Storage ??= host.Storage;
LocalConfig ??= new OsuConfigManager(Storage);
}
protected override Storage CreateStorage(GameHost host, Storage defaultStorage) => new OsuStorage(host, defaultStorage);
private readonly List<ICanAcceptFiles> fileImporters = new List<ICanAcceptFiles>();
public async Task Import(params string[] paths)