Merge pull request #1280 from ColdVolcano/file-count-fix

Account for all files instead of just the main directory ones
This commit is contained in:
Dean Herbert
2017-09-18 11:02:31 +09:00
committed by GitHub

View File

@ -26,7 +26,7 @@ namespace osu.Game.Beatmaps.IO
// no-op
}
public override IEnumerable<string> Filenames => Directory.GetFiles(path).Select(Path.GetFileName).ToArray();
public override IEnumerable<string> Filenames => Directory.GetFiles(path, "*", SearchOption.AllDirectories).Select(Path.GetFileName).ToArray();
public override Stream GetUnderlyingStream() => null;
}