mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Start game event system before init bg and opvp in case that bg and opvp needs to start some game events.
--HG-- branch : trunk
This commit is contained in:
@@ -1521,6 +1521,10 @@ void World::SetInitialWorldSettings()
|
||||
sLog.outString( "Starting Map System" );
|
||||
MapManager::Instance().Initialize();
|
||||
|
||||
sLog.outString("Starting Game Event system..." );
|
||||
uint32 nextGameEvent = gameeventmgr.Initialize();
|
||||
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event
|
||||
|
||||
///- Initialize Battlegrounds
|
||||
sLog.outString( "Starting BattleGround System" );
|
||||
sBattleGroundMgr.CreateInitialBattleGrounds();
|
||||
@@ -1546,10 +1550,6 @@ void World::SetInitialWorldSettings()
|
||||
sLog.outString("Starting objects Pooling system..." );
|
||||
poolhandler.Initialize();
|
||||
|
||||
sLog.outString("Starting Game Event system..." );
|
||||
uint32 nextGameEvent = gameeventmgr.Initialize();
|
||||
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event
|
||||
|
||||
sLog.outString("Initialize AuctionHouseBot...");
|
||||
AuctionHouseBotInit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user