1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 10:22:56 +08:00

Fix test failures

This commit is contained in:
Dean Herbert 2020-05-08 19:08:43 +09:00
parent d9658bc34e
commit abd1115c6d

View File

@ -302,7 +302,8 @@ namespace osu.Game
{ {
base.SetHost(host); base.SetHost(host);
Storage = new OsuStorage(host); if (Storage == null) // may be non-null for certain tests
Storage = new OsuStorage(host);
if (LocalConfig == null) if (LocalConfig == null)
LocalConfig = new OsuConfigManager(Storage); LocalConfig = new OsuConfigManager(Storage);