1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00

Fix global key bindings being fetched with a non-null variant

This commit is contained in:
Dean Herbert 2017-08-23 16:10:31 +09:00
parent bdd0a51c6e
commit efdd5eb152
2 changed files with 3 additions and 3 deletions

View File

@ -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;
} }

View File

@ -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;