CMake: Use inherited dependencies in scripts

* Removes the circular dependency between game <-> scripts
This commit is contained in:
Aokromes committed 2016-08-10 00:33:48 +02:00
1 parent b96f20c0d4
commit 7ef9b246b5
7 files changed
+66 -125

No files matched your search

+2
View File
@@ -35,6 +35,7 @@
#include "InstanceSaveMgr.h"
#include "ObjectAccessor.h"
#include "ScriptMgr.h"
#include "ScriptLoader.h"
#include "OutdoorPvP/OutdoorPvPMgr.h"
#include "BattlegroundMgr.h"
#include "TCSoap.h"
@@ -192,6 +193,7 @@ extern int main(int argc, char** argv)
LoadRealmInfo();
// Initialize the World
sScriptMgr->SetScriptLoader(AddScripts);
sWorld->SetInitialWorldSettings();
// Launch CliRunnable thread