mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 23:37:26 +08:00
Formatting fixes
This commit is contained in:
parent
0616256bd0
commit
67774192dd
@ -316,13 +316,12 @@ namespace osu.Game.Screens.Select
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void selectionChanged(BeatmapInfo beatmap)
|
private void selectionChanged(BeatmapInfo beatmap)
|
||||||
{
|
{
|
||||||
bool beatmapSetChange = false;
|
selectionChangedDebounce?.Cancel();
|
||||||
|
|
||||||
if (beatmap.Equals(Beatmap?.BeatmapInfo))
|
if (beatmap.Equals(Beatmap?.BeatmapInfo))
|
||||||
{
|
|
||||||
selectionChangedDebounce?.Cancel();
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
bool beatmapSetChange = false;
|
||||||
|
|
||||||
if (beatmap.BeatmapSetInfoID == selectionChangeNoBounce?.BeatmapSetInfoID)
|
if (beatmap.BeatmapSetInfoID == selectionChangeNoBounce?.BeatmapSetInfoID)
|
||||||
sampleChangeDifficulty.Play();
|
sampleChangeDifficulty.Play();
|
||||||
@ -334,7 +333,6 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
selectionChangeNoBounce = beatmap;
|
selectionChangeNoBounce = beatmap;
|
||||||
|
|
||||||
selectionChangedDebounce?.Cancel();
|
|
||||||
selectionChangedDebounce = Scheduler.AddDelayed(delegate
|
selectionChangedDebounce = Scheduler.AddDelayed(delegate
|
||||||
{
|
{
|
||||||
Beatmap = database.GetWorkingBeatmap(beatmap, Beatmap);
|
Beatmap = database.GetWorkingBeatmap(beatmap, Beatmap);
|
||||||
|
Loading…
Reference in New Issue
Block a user