mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 03:33:39 +08:00
Fix some tests failing due to using a locally constructed ruleset
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user