1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 19:12:59 +08:00

Fix test failures

This commit is contained in:
smoogipoo 2020-07-06 22:41:58 +09:00
parent ddac511c8c
commit 00a2fbce06

View File

@ -83,7 +83,7 @@ namespace osu.Game.IO
{
Storage userStorage = host.GetStorage(CustomStoragePath);
if (!userStorage.GetFiles(".").Any())
if (!userStorage.ExistsDirectory(".") || !userStorage.GetFiles(".").Any())
error = OsuStorageError.AccessibleButEmpty;
ChangeTargetStorage(userStorage);