diff --git a/osu.Desktop/Program.cs b/osu.Desktop/Program.cs index 0ef458924a..1fab92e020 100644 --- a/osu.Desktop/Program.cs +++ b/osu.Desktop/Program.cs @@ -34,7 +34,7 @@ public static int Main(string[] args) } else { - switch (args.First() ?? string.Empty) + switch (args.FirstOrDefault() ?? string.Empty) { case "--tests": host.Run(new OsuTestBrowser());