mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +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)
|
private void selectionChanged(BeatmapGroup group, BeatmapInfo beatmap)
|
||||||
{
|
{
|
||||||
bool beatmapSetChange = false;
|
bool beatmapSetChange = false;
|
||||||
|
|
||||||
if (!beatmap.Equals(Beatmap?.BeatmapInfo))
|
if (!beatmap.Equals(Beatmap?.BeatmapInfo))
|
||||||
{
|
{
|
||||||
if (beatmap.BeatmapSetID == Beatmap?.BeatmapInfo.BeatmapSetID)
|
if (beatmap.BeatmapSetID == Beatmap?.BeatmapInfo.BeatmapSetID)
|
||||||
{
|
|
||||||
sampleChangeDifficulty.Play();
|
sampleChangeDifficulty.Play();
|
||||||
beatmapSetChange = false;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sampleChangeBeatmap.Play();
|
sampleChangeBeatmap.Play();
|
||||||
beatmapSetChange = true;
|
beatmapSetChange = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Beatmap = database.GetWorkingBeatmap(beatmap, Beatmap);
|
Beatmap = database.GetWorkingBeatmap(beatmap, Beatmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
ensurePlayingSelected(beatmapSetChange);
|
ensurePlayingSelected(beatmapSetChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user