mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Cache also as IBindable
This commit is contained in:
@ -146,7 +146,9 @@ namespace osu.Game
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies.CacheAs(this);
|
dependencies.CacheAs(this);
|
||||||
|
|
||||||
dependencies.CacheAs(ruleset);
|
dependencies.CacheAs(ruleset);
|
||||||
|
dependencies.CacheAs<IBindable<RulesetInfo>>(ruleset);
|
||||||
|
|
||||||
// bind config int to database RulesetInfo
|
// bind config int to database RulesetInfo
|
||||||
configRuleset = LocalConfig.GetBindable<int>(OsuSetting.Ruleset);
|
configRuleset = LocalConfig.GetBindable<int>(OsuSetting.Ruleset);
|
||||||
|
Reference in New Issue
Block a user