diff --git a/osu.Game.Rulesets.Karaoke/Statistics/BeatmapInfoGraph.cs b/osu.Game.Rulesets.Karaoke/Statistics/BeatmapInfoGraph.cs index af8642e81..b8d09d2db 100644 --- a/osu.Game.Rulesets.Karaoke/Statistics/BeatmapInfoGraph.cs +++ b/osu.Game.Rulesets.Karaoke/Statistics/BeatmapInfoGraph.cs @@ -33,9 +33,9 @@ protected override bool OnClick(ClickEvent e) } [BackgroundDependencyLoader(true)] - private void load([CanBeNull] IBindable workingBeatmap, [CanBeNull] BeatmapDifficultyManager difficultyManager) + private void load([CanBeNull] IBindable workingBeatmap, [CanBeNull] BeatmapDifficultyCache difficultyCache) { - var beatmapDifficulty = difficultyManager.GetDifficulty(beatmap.BeatmapInfo); + var beatmapDifficulty = difficultyCache.GetBindableDifficulty(beatmap.BeatmapInfo).Value; if (workingBeatmap != null) { LoadComponentAsync(new BeatmapInfoWedge(workingBeatmap.Value, beatmapDifficulty), Add); diff --git a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj index 278cae648..52a22b39f 100644 --- a/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj +++ b/osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj @@ -14,7 +14,7 @@ - +