Skip to content

Commit

Permalink
Combined both of hldm and bhop lists back to the single one, but adde…
Browse files Browse the repository at this point in the history
…d some comments for 'separating' them
  • Loading branch information
SmileyAG committed Dec 29, 2023
1 parent 3f9d19b commit e50b47f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cl_dll/discord_integration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ namespace discord_integration
"hl1_bhop_uc2"s,
};

const std::unordered_set<std::string> dm_maps {
const std::unordered_set<std::string> maps_with_thumbnails {
// DM maps
"boot_camp"s,
"bootbox"s,
"bounce"s,
Expand All @@ -70,9 +71,7 @@ namespace discord_integration
"subtransit"s,
"urethane"s,
"vengeance"s,
};

const std::unordered_set<std::string> bhop_maps {
// Bhop maps
"2bfree"s,
"8b1_hellinashop"s,
"ag_bhop_dungeon"s,
Expand Down Expand Up @@ -359,7 +358,7 @@ namespace discord_integration

convert_to_lower_case(map_name);

if ((dm_maps.find(map_name) != dm_maps.cend()) || (bhop_maps.find(map_name) != bhop_maps.cend()))
if (maps_with_thumbnails.find(map_name) != maps_with_thumbnails.cend())
{
presence.largeImageKey = map_name;
}
Expand Down

0 comments on commit e50b47f

Please sign in to comment.