mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 07:23:20 +08:00
Merge branch 'master' into better-slider-step
This commit is contained in:
commit
deb9a7b6ae
@ -18,7 +18,7 @@ namespace osu.Game.Input
|
|||||||
public KeyBindingStore(SQLiteConnection connection, RulesetStore rulesets, Storage storage = null)
|
public KeyBindingStore(SQLiteConnection connection, RulesetStore rulesets, Storage storage = null)
|
||||||
: base(connection, storage)
|
: base(connection, storage)
|
||||||
{
|
{
|
||||||
foreach (var info in rulesets.Query<RulesetInfo>())
|
foreach (var info in rulesets.AllRulesets)
|
||||||
{
|
{
|
||||||
var ruleset = info.CreateInstance();
|
var ruleset = info.CreateInstance();
|
||||||
foreach (var variant in ruleset.AvailableVariants)
|
foreach (var variant in ruleset.AvailableVariants)
|
||||||
|
@ -19,7 +19,7 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
AddSection(new GlobalKeyBindingsSection(global, "Global"));
|
AddSection(new GlobalKeyBindingsSection(global, "Global"));
|
||||||
|
|
||||||
foreach (var ruleset in rulesets.Query<RulesetInfo>())
|
foreach (var ruleset in rulesets.AllRulesets)
|
||||||
AddSection(new RulesetBindingsSection(ruleset));
|
AddSection(new RulesetBindingsSection(ruleset));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user