mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +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…
Reference in New Issue
Block a user