Adjust comments a bit

This commit is contained in:
smoogipoo
2019-06-12 16:07:35 +09:00
parent 5d3fa51360
commit 13234fb4a4
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ namespace osu.Game.Screens.Select
int? previouslySelectedID = null;
CarouselBeatmapSet existingSet = beatmapSets.FirstOrDefault(b => b.BeatmapSet.ID == beatmapSet.ID);
// Since we're about to remove the selected beatmap, store its ID so we can go back if needed.
// If the selected beatmap is about to be removed, store its ID so it can be re-selected if required
if (existingSet?.State?.Value == CarouselItemState.Selected)
previouslySelectedID = selectedBeatmap?.Beatmap.ID;