mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
Load scripts AFTER server configuration has been initialized.
This commit is contained in:
@@ -1272,12 +1272,12 @@ void World::SetInitialWorldSettings()
|
|||||||
///- Initialize detour memory management
|
///- Initialize detour memory management
|
||||||
dtAllocSetCustom(dtCustomAlloc, dtCustomFree);
|
dtAllocSetCustom(dtCustomAlloc, dtCustomFree);
|
||||||
|
|
||||||
sLog->outString("Initializing Scripts...");
|
|
||||||
sScriptMgr->Initialize();
|
|
||||||
|
|
||||||
///- Initialize config settings
|
///- Initialize config settings
|
||||||
LoadConfigSettings();
|
LoadConfigSettings();
|
||||||
|
|
||||||
|
sLog->outString("Initializing Scripts...");
|
||||||
|
sScriptMgr->Initialize();
|
||||||
|
|
||||||
///- Initialize Allowed Security Level
|
///- Initialize Allowed Security Level
|
||||||
LoadDBAllowedSecurityLevel();
|
LoadDBAllowedSecurityLevel();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user