Updated preload condition.

This commit is contained in:
MrTheMake 2017-05-21 13:04:04 +02:00
parent 44cad4e0ac
commit 1546bbc66b

View File

@ -414,7 +414,7 @@ namespace osu.Game.Screens.Select
lastIndex = ~lastIndex;
// Add the first panel of the last visible beatmap group to preload its data.
if (lastIndex != yPositions.Count)
if (panels[lastIndex - 1] is BeatmapSetHeader)
lastIndex++;
}