Merge pull request #43 from qudzy/upstream/fix/suggest-faction-interpolation

Correct faction interpolation in reputation suggestion
This commit is contained in:
ZhengPeiRu21
2022-04-17 18:02:35 -06:00
committed by GitHub

View File

@@ -205,7 +205,7 @@ void SuggestWhatToDoAction::grindReputation()
std::ostringstream itemout;
itemout << "|c004040b0" << allowedFactions[urand(0, allowedFactions.size() - 1)] << "|r";
placeholders["{}action"] = itemout.str();
placeholders["%faction"] = itemout.str();
spam(sPlayerbotTextMgr->Format("suggest_faction", placeholders));
}