forked from mirror/azerothcore-wotlk
Moved onStartup hook under Master.cpp to avoid issues with freezing check
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "Util.h"
|
||||
#include "AuthSocket.h"
|
||||
#include "RealmList.h"
|
||||
#include "ScriptMgr.h"
|
||||
|
||||
#include "BigNumber.h"
|
||||
#include "OpenSSLCrypto.h"
|
||||
@@ -155,6 +156,8 @@ int Master::Run()
|
||||
///- Initialize the World
|
||||
sWorld->SetInitialWorldSettings();
|
||||
|
||||
sScriptMgr->OnStartup();
|
||||
|
||||
///- Initialize the signal handlers
|
||||
WorldServerSignalHandler signalINT, signalTERM; //, signalSEGV
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user