1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Remove pointless compatibility parameter BeatmapSetInfoID

This commit is contained in:
Dean Herbert 2022-01-13 18:02:02 +09:00
parent c61419dfe5
commit 069d6d2954
2 changed files with 1 additions and 4 deletions

View File

@ -163,9 +163,6 @@ namespace osu.Game.Beatmaps
}
}
[Ignored]
public Guid BeatmapSetInfoID => BeatmapSet?.ID ?? Guid.Empty;
[Ignored]
[IgnoreMap]
public BeatmapDifficulty BaseDifficulty

View File

@ -486,7 +486,7 @@ namespace osu.Game.Screens.Select
{
if (beatmap != null && beatmapInfoPrevious != null && Time.Current - audioFeedbackLastPlaybackTime >= 50)
{
if (beatmap.BeatmapSetInfoID == beatmapInfoPrevious.BeatmapSetInfoID)
if (beatmap.BeatmapSet?.ID == beatmapInfoPrevious.BeatmapSet?.ID)
sampleChangeDifficulty.Play();
else
sampleChangeBeatmap.Play();