diff --git a/osu.Game/Overlays/KeyBinding/GlobalKeyBindingsSection.cs b/osu.Game/Overlays/KeyBinding/GlobalKeyBindingsSection.cs index 77de9fc865..8ebd4ac545 100644 --- a/osu.Game/Overlays/KeyBinding/GlobalKeyBindingsSection.cs +++ b/osu.Game/Overlays/KeyBinding/GlobalKeyBindingsSection.cs @@ -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; } diff --git a/osu.Game/Overlays/KeyBinding/KeyBindingsSubsection.cs b/osu.Game/Overlays/KeyBinding/KeyBindingsSubsection.cs index 9bbbf539c5..38a5b1a171 100644 --- a/osu.Game/Overlays/KeyBinding/KeyBindingsSubsection.cs +++ b/osu.Game/Overlays/KeyBinding/KeyBindingsSubsection.cs @@ -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;