From 1546bbc66b812e4d57e14a32141a4f294e91f8c4 Mon Sep 17 00:00:00 2001 From: MrTheMake Date: Sun, 21 May 2017 13:04:04 +0200 Subject: [PATCH] Updated preload condition. --- osu.Game/Screens/Select/BeatmapCarousel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Select/BeatmapCarousel.cs b/osu.Game/Screens/Select/BeatmapCarousel.cs index 486b0795c4..d283988fd5 100644 --- a/osu.Game/Screens/Select/BeatmapCarousel.cs +++ b/osu.Game/Screens/Select/BeatmapCarousel.cs @@ -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++; }