Use local functions

This commit is contained in:
TocoToucan
2018-01-15 21:42:17 +03:00
parent e0220de1a5
commit 3c11978cfa
10 changed files with 16 additions and 16 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Desktop
{
protected override string LocateBasePath()
{
Func<string, bool> checkExists = p => Directory.Exists(Path.Combine(p, "Songs"));
bool checkExists(string p) => Directory.Exists(Path.Combine(p, "Songs"));
string stableInstallPath;