Rename to LegacyDirectoryArchiveReader

This commit is contained in:
smoogipoo
2018-11-28 15:13:27 +09:00
parent dc31736db7
commit 0982508d26
2 changed files with 4 additions and 4 deletions

View File

@ -485,7 +485,7 @@ namespace osu.Game.Database
if (ZipUtils.IsZipArchive(path))
return new ZipArchiveReader(File.Open(path, FileMode.Open, FileAccess.Read, FileShare.Read), Path.GetFileName(path));
if (Directory.Exists(path))
return new LegacyFilesystemReader(path);
return new LegacyDirectoryArchiveReader(path);
throw new InvalidFormatException($"{path} is not a valid archive");
}
}