osudroid / osu-droid

http://osudroid.moe
Apache License 2.0
507 stars 76 forks source link

Fix a bug in LibraryManager where a loop may terminate prematurely #244

Closed ammarasyad closed 1 year ago

ammarasyad commented 1 year ago

I erroneously used a return instead of a continue in one of the loops updating the cache when it detects a new beatmap (when tracks in TrackInfo is empty), potentially resulting in certain beatmaps to not be imported if the loop hits an unparseable beatmap mid-caching. This PR fixes that issue.