mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +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;
|
||||
|
||||
public DefaultBindingsSubsection(KeyBindingInputManager manager)
|
||||
: base(0)
|
||||
: base(null)
|
||||
{
|
||||
Defaults = manager.DefaultKeyBindings;
|
||||
}
|
||||
|
@ -17,9 +17,9 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
|
||||
protected RulesetInfo Ruleset;
|
||||
|
||||
private readonly int variant;
|
||||
private readonly int? variant;
|
||||
|
||||
protected KeyBindingsSubsection(int variant)
|
||||
protected KeyBindingsSubsection(int? variant)
|
||||
{
|
||||
this.variant = variant;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user