mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces
* AddSC_swamp_of_sorrows del
* 1
* add mod info
* 1
* 039f0e0faa
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -54,11 +54,10 @@ target_include_directories(worldserver
|
||||
|
||||
target_link_libraries(worldserver
|
||||
PRIVATE
|
||||
game-interface
|
||||
acore-core-interface
|
||||
PUBLIC
|
||||
game
|
||||
shared
|
||||
scripts
|
||||
game
|
||||
gsoap
|
||||
readline
|
||||
gperftools)
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "Realm.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "SignalHandler.h"
|
||||
#include "ScriptLoader.h"
|
||||
#include "Timer.h"
|
||||
#include "Util.h"
|
||||
#include "World.h"
|
||||
@@ -146,6 +147,7 @@ int Master::Run()
|
||||
|
||||
///- Initialize the World
|
||||
sSecretMgr->Initialize();
|
||||
sScriptMgr->SetScriptLoader(AddScripts);
|
||||
sWorld->SetInitialWorldSettings();
|
||||
|
||||
sScriptMgr->OnStartup();
|
||||
|
||||
Reference in New Issue
Block a user