mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
cctor->Register
This commit is contained in:
@ -14,11 +14,11 @@ namespace osu.Desktop.Beatmaps.IO
|
||||
/// </summary>
|
||||
public class LegacyFilesystemReader : ArchiveReader
|
||||
{
|
||||
static LegacyFilesystemReader()
|
||||
public static void Register()
|
||||
{
|
||||
AddReader<LegacyFilesystemReader>((storage, path) => Directory.Exists(path));
|
||||
}
|
||||
|
||||
|
||||
private string basePath { get; set; }
|
||||
private string[] beatmaps { get; set; }
|
||||
private Beatmap firstMap { get; set; }
|
||||
@ -50,10 +50,10 @@ namespace osu.Desktop.Beatmaps.IO
|
||||
{
|
||||
return firstMap.BeatmapInfo.Metadata;
|
||||
}
|
||||
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
// no-op
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user