BeatSaber_BetterSongList icon indicating copy to clipboard operation
BeatSaber_BetterSongList copied to clipboard

Fix random not working with all songs

Open rube200 opened this issue 1 year ago • 2 comments

I was trying to randomize musics with all songs collection, but it wasnt working. After digging and debugging the plugin code, i found out the problem is the harmony patch. In the original LevelCollectionTableView.SetData method the parameter previewBeatmapLevels is IReadOnlyList and not an array. When the player sets collection to All songs the games passes an IReadOnlyCollection does not working. If you debug it as an array the collection will have a count of 0.

rube200 avatar Jan 28 '24 01:01 rube200

Hi, thank you. I suppose this is an issue in the latest version? I never noticed something this before

kinsi55 avatar Jan 31 '24 17:01 kinsi55

My currently installed version is the latest (1.34.2). When i was debugging lastInMapList and lastOutMapList were empty when selecting all soungs.

rube200 avatar Jan 31 '24 18:01 rube200