Correct faction interpolation in reputation suggestion

This commit is contained in:
qudzy
2022-04-12 16:49:13 +02:00
parent 205d59694a
commit f0ecab6ac5

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));
}