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

Merge branch 'replace-use-of-current-directory' into update-framework

This commit is contained in:
Dean Herbert 2020-06-02 14:55:28 +09:00
commit 1b94048956

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