mirror of https://github.com/ppy/osu
Ignore r# locked context inspection here
This commit is contained in:
parent
a85de09c0f
commit
b73b4755eb
|
@ -414,6 +414,7 @@ public WorkingBeatmap GetWorkingBeatmap(BeatmapInfo beatmapInfo, WorkingBeatmap
|
|||
private ArchiveReader getReaderFrom(string path)
|
||||
{
|
||||
if (ZipFile.IsZipFile(path))
|
||||
// ReSharper disable once InconsistentlySynchronizedField
|
||||
return new OszArchiveReader(storage.GetStream(path));
|
||||
return new LegacyFilesystemReader(path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue