1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 16:02:58 +08:00

Account for all files instead of just the main directory ones

This commit is contained in:
ColdVolcano 2017-09-15 15:47:56 -05:00
parent c200fbe961
commit 47b62803d8

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.GetDirectories(path).Select(Path.GetFileName).ToArray();
public override Stream GetUnderlyingStream() => null;
}