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:
parent
ddac511c8c
commit
00a2fbce06
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user