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:
parent
a845a897b3
commit
b788878c95
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user