Don't perform background difficulty calculation for multiplayer panels

There are cases these are shown in a long list. They shouldn't be
running calculations.
This commit is contained in:
Dean Herbert
2021-11-03 03:07:27 +09:00
parent 08b0ffad50
commit 6efd3d3115
2 changed files with 4 additions and 3 deletions

View File

@ -105,7 +105,7 @@ namespace osu.Game.Screens.OnlinePlay
private void refresh()
{
difficultyIconContainer.Child = new DifficultyIcon(beatmap.Value, ruleset.Value, requiredMods) { Size = new Vector2(32) };
difficultyIconContainer.Child = new DifficultyIcon(beatmap.Value, ruleset.Value, requiredMods, performBackgroundDifficultyLookup: false) { Size = new Vector2(32) };
beatmapText.Clear();
beatmapText.AddLink(Item.Beatmap.Value.GetDisplayTitleRomanisable(), LinkAction.OpenBeatmap, Item.Beatmap.Value.OnlineBeatmapID.ToString(), null, text =>