1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 00:53:22 +08:00

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
commit d51ff7590d

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;
}