Expression body and spacing.

This commit is contained in:
Huo Yaoyuan 2016-11-16 10:53:10 +08:00
parent 53deaf2a00
commit 95600f872d
2 changed files with 2 additions and 4 deletions

View File

@ -14,10 +14,7 @@ namespace osu.Desktop.Beatmaps.IO
/// </summary>
public class LegacyFilesystemReader : ArchiveReader
{
public static void Register()
{
AddReader<LegacyFilesystemReader>((storage, path) => Directory.Exists(path));
}
public static void Register() => AddReader<LegacyFilesystemReader>((storage, path) => Directory.Exists(path));
private string basePath { get; set; }
private string[] beatmaps { get; set; }

View File

@ -25,6 +25,7 @@ public static class Program
public static int Main(string[] args)
{
LegacyFilesystemReader.Register();
using (DesktopGameHost host = Host.GetSuitableHost(@"osu", true))
{
if (!host.IsPrimaryInstance)