mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +08:00
Updated preload condition to handle special case
This commit is contained in:
parent
662ea0ec2d
commit
043d1ed20a
@ -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 (panels[lastIndex - 1] is BeatmapSetHeader)
|
||||
if (lastIndex != 0 && panels[lastIndex - 1] is BeatmapSetHeader)
|
||||
lastIndex++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user