1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:17:26 +08:00

FirstOrDefault

This commit is contained in:
Dean Herbert 2017-08-04 15:58:59 +09:00
parent 104c25266d
commit 7e89b1021d

View File

@ -34,7 +34,7 @@ namespace osu.Desktop
}
else
{
switch (args.First() ?? string.Empty)
switch (args.FirstOrDefault() ?? string.Empty)
{
case "--tests":
host.Run(new OsuTestBrowser());