Skip to content

Commit

Permalink
Map: Fix order of operations causing new dynguid fixes not working fo…
Browse files Browse the repository at this point in the history
…r active entities
  • Loading branch information
killerwife committed Jan 12, 2024
1 parent 32c3e15 commit b8df6fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/game/Maps/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b8df6fe

Please sign in to comment.