Skip to content

Commit

Permalink
fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Aug 4, 2024
1 parent 77dcefc commit 0e7a573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void BI_DLL fixLevelLists() {
std::vector<GJLevelList*> blanks;

for(auto list : lists) {
if(list->m_listID == 0 && list->m_listName.empty() && list->m_levels.empty() && list->m_levelsString.empty()) {
if(list->m_listID == 0 && list->m_listName.empty() && (list->m_levels.size() == 0) && list->m_levelsString.empty()) {
blanks.push_back(list);
}
}
Expand Down

0 comments on commit 0e7a573

Please sign in to comment.