mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Fix KeyBindingStore not getting correct defaults for variants.
This commit is contained in:
parent
a2407948ed
commit
fd3239ad15
@ -22,7 +22,7 @@ namespace osu.Game.Input
|
|||||||
{
|
{
|
||||||
var ruleset = info.CreateInstance();
|
var ruleset = info.CreateInstance();
|
||||||
foreach (var variant in ruleset.AvailableVariants)
|
foreach (var variant in ruleset.AvailableVariants)
|
||||||
insertDefaults(ruleset.GetDefaultKeyBindings(), info.ID, variant);
|
insertDefaults(ruleset.GetDefaultKeyBindings(variant), info.ID, variant);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user