1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 19:32:55 +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);
Storage = new OsuStorage(host);
if (Storage == null) // may be non-null for certain tests
Storage = new OsuStorage(host);
if (LocalConfig == null)
LocalConfig = new OsuConfigManager(Storage);