From e7fd7742cf420beccb7b6cdf83dac468effe93c2 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Mon, 9 Nov 2020 22:30:00 +0900 Subject: [PATCH] Update package and fix compile error. --- osu.Game.Rulesets.Karaoke/Statistics/BeatmapInfoGraph.cs | 4 ++-- osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@ - +