mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix beatmap listing continually paginating for null cursors
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user