Skip to content

Commit

Permalink
Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Jul 9, 2020
1 parent f142d33 commit bed3ea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private void load(KaraokeRulesetConfigManager config, IBindable<IReadOnlyList<Mo
}

protected override InputState CreateInitialState()
=> new KaraokeRulesetInputManagerInputState<KaraokeSaitenAction>(new MicrophoneInputState(new MicrophoneState()));
=> new KaraokeRulesetInputManagerInputState<KaraokeSaitenAction>(base.CreateInitialState());

public override void HandleInputStateChange(InputStateChangeEvent inputStateChange)
{
Expand Down Expand Up @@ -119,10 +119,10 @@ public class KaraokeRulesetInputManagerInputState<T> : RulesetInputManagerInputS
{
public MicrophoneState Microphone { get; }

public KaraokeRulesetInputManagerInputState(MicrophoneInputState state)
public KaraokeRulesetInputManagerInputState(InputState state)
: base(state)
{
Microphone = state.Microphone;
Microphone = new MicrophoneState();
}
}

Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Octokit" Version="0.48.0" />
<PackageReference Include="osu.Framework.Microphone" Version="1.0.8" />
<PackageReference Include="osu.Framework.Microphone" Version="1.0.10" />
<PackageReference Include="ppy.osu.Game" Version="2020.707.0" />
<PackageReference Include="LyricMaker" Version="1.1.1" />
<PackageReference Include="NicoKaraParser" Version="1.1.0" />
Expand Down

0 comments on commit bed3ea8

Please sign in to comment.