From b788878c95f8756825967990bea141577a0a5a36 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 15 Dec 2016 17:28:22 -0600 Subject: [PATCH] Unnecesary things were removed (I guess) --- osu.Game/Screens/Select/PlaySongSelect.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/osu.Game/Screens/Select/PlaySongSelect.cs b/osu.Game/Screens/Select/PlaySongSelect.cs index 1496727469..7eae136d5e 100644 --- a/osu.Game/Screens/Select/PlaySongSelect.cs +++ b/osu.Game/Screens/Select/PlaySongSelect.cs @@ -280,23 +280,19 @@ namespace osu.Game.Screens.Select private void selectionChanged(BeatmapGroup group, BeatmapInfo beatmap) { bool beatmapSetChange = false; + if (!beatmap.Equals(Beatmap?.BeatmapInfo)) { if (beatmap.BeatmapSetID == Beatmap?.BeatmapInfo.BeatmapSetID) - { sampleChangeDifficulty.Play(); - beatmapSetChange = false; - } else { sampleChangeBeatmap.Play(); beatmapSetChange = true; - } - Beatmap = database.GetWorkingBeatmap(beatmap, Beatmap); } - + ensurePlayingSelected(beatmapSetChange); }