mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update LuaEngine.cpp (#192)
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#include "Hooks.h"
|
#include "Hooks.h"
|
||||||
#include "LuaEngine.h"
|
#include "LuaEngine.h"
|
||||||
#include "BindingMap.h"
|
#include "BindingMap.h"
|
||||||
|
#include "Chat.h"
|
||||||
#include "ElunaEventMgr.h"
|
#include "ElunaEventMgr.h"
|
||||||
#include "ElunaIncludes.h"
|
#include "ElunaIncludes.h"
|
||||||
#include "ElunaTemplate.h"
|
#include "ElunaTemplate.h"
|
||||||
@@ -136,7 +137,7 @@ void Eluna::_ReloadEluna()
|
|||||||
if (eConfigMgr->GetOption<bool>("Eluna.PlayerAnnounceReload", false))
|
if (eConfigMgr->GetOption<bool>("Eluna.PlayerAnnounceReload", false))
|
||||||
eWorld->SendServerMessage(SERVER_MSG_STRING, "Reloading Eluna...");
|
eWorld->SendServerMessage(SERVER_MSG_STRING, "Reloading Eluna...");
|
||||||
else
|
else
|
||||||
eWorld->SendGMText(SERVER_MSG_STRING, "Reloading Eluna...");
|
ChatHandler(nullptr).SendGMText(SERVER_MSG_STRING, "Reloading Eluna...");
|
||||||
|
|
||||||
// Remove all timed events
|
// Remove all timed events
|
||||||
sEluna->eventMgr->SetStates(LUAEVENT_STATE_ERASE);
|
sEluna->eventMgr->SetStates(LUAEVENT_STATE_ERASE);
|
||||||
|
|||||||
Reference in New Issue
Block a user