mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +08:00
Cache also as IBindable
This commit is contained in:
parent
6d6fcc953b
commit
182ac80881
@ -146,7 +146,9 @@ namespace osu.Game
|
||||
}
|
||||
|
||||
dependencies.CacheAs(this);
|
||||
|
||||
dependencies.CacheAs(ruleset);
|
||||
dependencies.CacheAs<IBindable<RulesetInfo>>(ruleset);
|
||||
|
||||
// bind config int to database RulesetInfo
|
||||
configRuleset = LocalConfig.GetBindable<int>(OsuSetting.Ruleset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user