diff --git a/osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs b/osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs index 614c199dc..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 MicrophoneInputState(new MicrophoneState())); + => new KaraokeRulesetInputManagerInputState(base.CreateInitialState()); public override void HandleInputStateChange(InputStateChangeEvent inputStateChange) { @@ -119,10 +119,10 @@ public class KaraokeRulesetInputManagerInputState : RulesetInputManagerInputS { public MicrophoneState Microphone { get; } - public KaraokeRulesetInputManagerInputState(MicrophoneInputState state) + public KaraokeRulesetInputManagerInputState(InputState state) : base(state) { - Microphone = state.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 736807d07..4a7e6f0c2 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -11,7 +11,7 @@ - +