From f0ecab6ac5920983d27ea99b5e1e94e5f4676475 Mon Sep 17 00:00:00 2001 From: qudzy <102037134+qudzy@users.noreply.github.com> Date: Tue, 12 Apr 2022 16:49:13 +0200 Subject: [PATCH] Correct faction interpolation in reputation suggestion --- src/strategy/actions/SuggestWhatToDoAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/SuggestWhatToDoAction.cpp b/src/strategy/actions/SuggestWhatToDoAction.cpp index 32c83629..a32d59b2 100644 --- a/src/strategy/actions/SuggestWhatToDoAction.cpp +++ b/src/strategy/actions/SuggestWhatToDoAction.cpp @@ -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)); }