From b8df6fecddf19caba071eb76eb42c759e57d3cbf Mon Sep 17 00:00:00 2001 From: killerwife Date: Fri, 12 Jan 2024 16:53:32 +0100 Subject: [PATCH] Map: Fix order of operations causing new dynguid fixes not working for active entities --- src/game/Maps/Map.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/Maps/Map.cpp b/src/game/Maps/Map.cpp index bf3018eb9e..7fd802c998 100644 --- a/src/game/Maps/Map.cpp +++ b/src/game/Maps/Map.cpp @@ -193,15 +193,15 @@ void Map::Initialize(bool loadInstanceData /*= true*/) m_persistentState->SetUsedByMapState(this); m_persistentState->InitPools(); - sObjectMgr.LoadActiveEntities(this); - m_graveyardManager.Init(this); - LoadTransports(); - m_variableManager.Initialize(m_persistentState->GetCompletedEncountersMask()); m_spawnManager.Initialize(); + + sObjectMgr.LoadActiveEntities(this); + + LoadTransports(); } void Map::InitVisibilityDistance()