mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Cache also as IBindable
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user