Skip to content

Commit

Permalink
Fix the test case broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed May 9, 2023
1 parent a4d2edb commit df0c361
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions osu.Game.Rulesets.Karaoke/KaraokeInputManager.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence.
// See the LICENCE file in the repository root for full licence text.

#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -34,10 +32,10 @@ public KaraokeInputManager(RulesetInfo ruleset)
UseParentInput = false;
}

private IBeatmap beatmap;
private IBeatmap beatmap = null!;

[BackgroundDependencyLoader]
private void load(KaraokeRulesetConfigManager config, IBindable<IReadOnlyList<Mod>> mods, IBindable<WorkingBeatmap> beatmap, KaraokeSessionStatics session, EditorBeatmap editorBeatmap)
private void load(KaraokeRulesetConfigManager config, IBindable<IReadOnlyList<Mod>> mods, IBindable<WorkingBeatmap> beatmap, KaraokeSessionStatics session, EditorBeatmap? editorBeatmap)
{
if (editorBeatmap != null)
{
Expand Down

0 comments on commit df0c361

Please sign in to comment.