1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 22:37:21 +08:00

Fix some tests failing due to using a locally constructed ruleset

This commit is contained in:
Dean Herbert 2021-09-15 15:01:48 +09:00
parent 5bb741b4e8
commit c36a67d06e

View File

@ -52,7 +52,7 @@ namespace osu.Game.Rulesets
return null;
if (!configCache.TryGetValue(ruleset.RulesetInfo.ID.Value, out var config))
return null;
return ruleset.CreateConfig(realmFactory);
return config;
}