mirror of
https://github.com/ppy/osu
synced 2025-01-13 01:21:08 +00:00
Merge branch 'replace-use-of-current-directory' into update-framework
This commit is contained in:
commit
1b94048956
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user