Rename BeatmapInfo.Version to DifficultyName to match underlying interface

This commit is contained in:
Dean Herbert
2021-11-11 17:19:53 +09:00
parent ebe58cee11
commit 51a353e12d
26 changed files with 37 additions and 41 deletions

View File

@ -13,7 +13,7 @@ namespace osu.Game.Screens.Edit.Components.Menus
public BeatmapInfo BeatmapInfo { get; }
public DifficultyMenuItem(BeatmapInfo beatmapInfo, bool selected, Action<BeatmapInfo> difficultyChangeFunc)
: base(beatmapInfo.Version ?? "(unnamed)", null)
: base(beatmapInfo.DifficultyName ?? "(unnamed)", null)
{
BeatmapInfo = beatmapInfo;
State.Value = selected;