diff --git a/src/vanillaScripts/aq_scripts.cpp b/src/vanillaScripts/aq_scripts.cpp index b4c922a..e77db59 100644 --- a/src/vanillaScripts/aq_scripts.cpp +++ b/src/vanillaScripts/aq_scripts.cpp @@ -4,6 +4,8 @@ #include "GameObjectAI.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" +#include "ObjectMgr.h" +#include "StringFormat.h" #include "WorldSessionMgr.h" enum @@ -173,7 +175,12 @@ public: return; if (announce) - player->GetMap()->SendZoneText(GLOBAL_TEXT_CHAMPION, player->GetName().c_str()); + { + std::string text = Acore::StringFormat( + sObjectMgr->GetAcoreStringForDBCLocale(GLOBAL_TEXT_CHAMPION), + player->GetName().c_str()); + sWorldSessionMgr->SendZoneText(player->GetZoneId(), text); + } eventTimer += 1000; eventStage = STAGE_OPEN_GATES; @@ -244,4 +251,3 @@ void AddSC_aq_scripts() new aq_gate(); new gobject_scarab_gong(); } -