mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +08:00
Fix beatmap listing continually paginating for null cursors
This commit is contained in:
parent
3121836741
commit
0118c3638c
@ -189,6 +189,10 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
|
||||
private void performRequest()
|
||||
{
|
||||
// If the previous request returned a null cursor, the API is indicating we can't paginate further (maybe there are no more beatmaps left).
|
||||
if (lastResponse != null && lastResponse.Cursor == null)
|
||||
return;
|
||||
|
||||
getSetsRequest = new SearchBeatmapSetsRequest(
|
||||
searchControl.Query.Value,
|
||||
searchControl.Ruleset.Value,
|
||||
|
Loading…
x
Reference in New Issue
Block a user