1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +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] [Ignored]
[IgnoreMap] [IgnoreMap]
public BeatmapDifficulty BaseDifficulty 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 != null && beatmapInfoPrevious != null && Time.Current - audioFeedbackLastPlaybackTime >= 50)
{ {
if (beatmap.BeatmapSetInfoID == beatmapInfoPrevious.BeatmapSetInfoID) if (beatmap.BeatmapSet?.ID == beatmapInfoPrevious.BeatmapSet?.ID)
sampleChangeDifficulty.Play(); sampleChangeDifficulty.Play();
else else
sampleChangeBeatmap.Play(); sampleChangeBeatmap.Play();