mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Import beatmaps into the database via IPC
This commit is contained in:
committed by
Dean Herbert
parent
3a163de0f7
commit
45c0bc5428
@ -20,7 +20,7 @@ namespace osu.Game.Beatmaps.IO
|
||||
foreach (var reader in readers)
|
||||
{
|
||||
if (reader.Test(storage, path))
|
||||
return (ArchiveReader)Activator.CreateInstance(reader.Type);
|
||||
return (ArchiveReader)Activator.CreateInstance(reader.Type, storage.GetStream(path));
|
||||
}
|
||||
throw new IOException("Unknown file format");
|
||||
}
|
||||
|
Reference in New Issue
Block a user