1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Fix incorrect usage of Directory.GetFiles

This commit is contained in:
Dean Herbert 2020-06-02 14:54:55 +09:00
parent 7a9ed78527
commit 6c8c95677f

View File

@ -154,7 +154,7 @@ namespace osu.Game.Rulesets
{
try
{
var files = Directory.GetFiles(Path.Combine(RuntimeInfo.StartupDirectory, $"{ruleset_library_prefix}.*.dll"));
var files = Directory.GetFiles(RuntimeInfo.StartupDirectory, $"{ruleset_library_prefix}.*.dll");
foreach (string file in files.Where(f => !Path.GetFileName(f).Contains("Tests")))
loadRulesetFromFile(file);