Skip to content

Commit

Permalink
hardcode last rated list number to make sure all rated lists are actu…
Browse files Browse the repository at this point in the history
…ally fetched
  • Loading branch information
Cvolton committed Aug 8, 2024
1 parent c898f24 commit eae291b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog
## <cg>v4.2.7</c> (2024-08-04)
* <cg>Fixed</c> <cr>a crash</c> when <cj>Last Page Search</c> reaches infinite pages
* <cg>Fixed</c> a rare <cr>startup crash</c> caused by <cj>Level Lists</c>
* Other bugfixes & improvements

## <cg>v4.2.6</c> (2024-08-04)
* <cg>Fixed</c> the following <cr>issues</c> on <cp>macOS</c>
* <cg>Fixed</c> <cr>a crash</c> when opening <cl>level filters</c>
Expand Down
3 changes: 2 additions & 1 deletion src/managers/BetterInfoCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ void BetterInfoCache::cacheRatedLists(int page) {
for(auto list : *lists) {
auto idString = std::to_string(list->m_listID);

if(objectExists("list-info-dict", idString)) {
//811 is the first rated list, GDPS users can cope
if(objectExists("list-info-dict", idString) && objectExists("list-info-dict", "811")) {
found = true;
break;
}
Expand Down

0 comments on commit eae291b

Please sign in to comment.