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 13, 2024
1 parent 07cfe90 commit cdd04c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/game/Maps/Map.cpp
Expand Up @@ -252,18 +252,18 @@ 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();

// load navmesh
MMAP::MMapFactory::createOrGetMMapManager()->loadMapData(GetId(), GetInstanceId());

sObjectMgr.LoadActiveEntities(this);

LoadTransports();
}

void Map::InitVisibilityDistance()
Expand Down

0 comments on commit cdd04c3

Please sign in to comment.