diff --git a/osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs b/osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs index 08d2c514c..42ed0428c 100644 --- a/osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs +++ b/osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs @@ -58,7 +58,7 @@ private void load(KaraokeRulesetConfigManager config, IBindable new KaraokeRulesetInputManagerInputState(new MicrophoneState()); + => new KaraokeRulesetInputManagerInputState(base.CreateInitialState()); public override void HandleInputStateChange(InputStateChangeEvent inputStateChange) { @@ -119,9 +119,10 @@ public class KaraokeRulesetInputManagerInputState : RulesetInputManagerInputS { public MicrophoneState Microphone { get; } - public KaraokeRulesetInputManagerInputState(MicrophoneState microphone) + public KaraokeRulesetInputManagerInputState(InputState state) + : base(state) { - Microphone = microphone; + Microphone = new MicrophoneState(); } } diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index 0f99a7653..4a7e6f0c2 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -11,8 +11,8 @@ - - + +