mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:43:21 +08:00
Fix global key bindings being fetched with a non-null variant
This commit is contained in:
parent
bdd0a51c6e
commit
efdd5eb152
@ -22,7 +22,7 @@ namespace osu.Game.Overlays.KeyBinding
|
|||||||
protected override string Header => string.Empty;
|
protected override string Header => string.Empty;
|
||||||
|
|
||||||
public DefaultBindingsSubsection(KeyBindingInputManager manager)
|
public DefaultBindingsSubsection(KeyBindingInputManager manager)
|
||||||
: base(0)
|
: base(null)
|
||||||
{
|
{
|
||||||
Defaults = manager.DefaultKeyBindings;
|
Defaults = manager.DefaultKeyBindings;
|
||||||
}
|
}
|
||||||
|
@ -17,9 +17,9 @@ namespace osu.Game.Overlays.KeyBinding
|
|||||||
|
|
||||||
protected RulesetInfo Ruleset;
|
protected RulesetInfo Ruleset;
|
||||||
|
|
||||||
private readonly int variant;
|
private readonly int? variant;
|
||||||
|
|
||||||
protected KeyBindingsSubsection(int variant)
|
protected KeyBindingsSubsection(int? variant)
|
||||||
{
|
{
|
||||||
this.variant = variant;
|
this.variant = variant;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user