Compare commits
No commits in common. "c2f400a60b95ad5ff1af179d72894829f4fe93dd" and "104ff733b351996a1ee1ac91e395fcdd8861d3d6" have entirely different histories.
c2f400a60b
...
104ff733b3
1 changed files with 3 additions and 4 deletions
|
|
@ -5,7 +5,6 @@
|
||||||
#include "DBCStores.h"
|
#include "DBCStores.h"
|
||||||
#include "GameObject.h"
|
#include "GameObject.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "WorldSessionMgr.h"
|
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "MapMgr.h"
|
#include "MapMgr.h"
|
||||||
#include "ObjectAccessor.h"
|
#include "ObjectAccessor.h"
|
||||||
|
|
@ -325,7 +324,7 @@ public:
|
||||||
_currentSite.MapId, _currentSite.ZoneId, _currentSite.AreaId, anchor->GetName());
|
_currentSite.MapId, _currentSite.ZoneId, _currentSite.AreaId, anchor->GetName());
|
||||||
}
|
}
|
||||||
|
|
||||||
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, Acore::StringFormat(_config.StartMessage, FormatLocationForAnnouncement(_currentSite, anchor)));
|
ChatHandler(nullptr).SendWorldText(Acore::StringFormat(_config.StartMessage, FormatLocationForAnnouncement(_currentSite, anchor)));
|
||||||
|
|
||||||
if (_config.Debug)
|
if (_config.Debug)
|
||||||
{
|
{
|
||||||
|
|
@ -878,7 +877,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string announcementLocation = FormatLocationForAnnouncement(_currentSite, anchor);
|
std::string announcementLocation = FormatLocationForAnnouncement(_currentSite, anchor);
|
||||||
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, Acore::StringFormat(_config.StartMessage, announcementLocation));
|
ChatHandler(nullptr).SendWorldText(Acore::StringFormat(_config.StartMessage, announcementLocation));
|
||||||
|
|
||||||
if (_config.Debug)
|
if (_config.Debug)
|
||||||
{
|
{
|
||||||
|
|
@ -899,7 +898,7 @@ private:
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::string location = BuildLocationText(_currentSite);
|
std::string location = BuildLocationText(_currentSite);
|
||||||
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, Acore::StringFormat(_config.EndMessage, location));
|
ChatHandler(nullptr).SendWorldText(Acore::StringFormat(_config.EndMessage, location));
|
||||||
|
|
||||||
if (_config.Debug)
|
if (_config.Debug)
|
||||||
LOG_INFO(GoldRushLogFilter, "Gold Rush ended in {}{}.", location, forced ? " (forced)" : "");
|
LOG_INFO(GoldRushLogFilter, "Gold Rush ended in {}{}.", location, forced ? " (forced)" : "");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue