Skip to content

Commit

Permalink
Fix mods not separated properly.
Browse files Browse the repository at this point in the history
The first mod would be missing the comma separator if more than one is currently active.
Fixes ticket:2918.
  • Loading branch information
KJeff01 committed Aug 1, 2017
1 parent c3ef251 commit bd2bac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modding.cpp
Expand Up @@ -78,11 +78,11 @@ static inline std::string join(std::vector<std::string> const &strs, std::string
bool first = true;
for (auto const &s : strs)
{
str += s;
if (!first)
{
str += sep;
}
str += s;
first = false;
}
return str;
Expand Down

0 comments on commit bd2bac6

Please sign in to comment.