1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 22:42:57 +08:00

Unnecesary things were removed (I guess)

This commit is contained in:
BuildTools 2016-12-15 17:28:22 -06:00
parent a845a897b3
commit b788878c95

View File

@ -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);
}