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:
commit
d51ff7590d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user