Skip to content

Commit

Permalink
Properly filter global country code
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Oct 8, 2018
1 parent de14c0b commit efd503d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@ class LunaDownloadManager : public Luna<DownloadManager>
if (userswithscores.count(leaderboardHighScore.GetName()) == 1 &&
p->topscoresonly)
continue;
if (country != "" && leaderboardHighScore.countryCode != country)
if (country != "" && country != "Global" && leaderboardHighScore.countryCode != country)
continue;
filteredLeaderboardScores.push_back(&(score.hs));
userswithscores.emplace(leaderboardHighScore.GetName());
Expand Down

0 comments on commit efd503d

Please sign in to comment.