Skip to content

Commit

Permalink
make creatorinfopopup legendary levels not epic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 8, 2024
1 parent eae291b commit 7f05fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## <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>
* <cg>Changed</c> <cj>Creator Point Breakdown</c> so it doesn't consider Legendary levels Epic
* This is consistent with how the search filters behave
* Other bugfixes & improvements

## <cg>v4.2.6</c> (2024-08-04)
Expand Down
6 changes: 3 additions & 3 deletions src/layers/CreatorInfoPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ int CreatorInfoPopup::levelsForDifficulty(int difficulty, bool platformer){

if(m_tab == 1 && level->m_stars <= 0) continue;
if(m_tab == 2 && level->m_featured <= 0) continue;
if(m_tab == 3 && level->m_isEpic <= 0) continue;
if(m_tab == 4 && level->m_isEpic <= 1) continue;
if(m_tab == 5 && level->m_isEpic <= 2) continue;
if(m_tab == 3 && level->m_isEpic != 1) continue;
if(m_tab == 4 && level->m_isEpic != 2) continue;
if(m_tab == 5 && level->m_isEpic != 3) continue;

if(platformer != level->isPlatformer()) continue;
total += 1;
Expand Down

0 comments on commit 7f05fc0

Please sign in to comment.