mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:47:25 +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;
|
lastIndex = ~lastIndex;
|
||||||
|
|
||||||
// Add the first panel of the last visible beatmap group to preload its data.
|
// 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++;
|
lastIndex++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user