mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 18:32:56 +08:00
make it only look for files instead of directories
This commit is contained in:
parent
47b62803d8
commit
8944d0f705
@ -26,7 +26,7 @@ namespace osu.Game.Beatmaps.IO
|
||||
// no-op
|
||||
}
|
||||
|
||||
public override IEnumerable<string> Filenames => Directory.GetDirectories(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