From 705a9ab2360467bb94cfa49382824e815803dd7a Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Fri, 20 Mar 2026 13:08:59 -0500 Subject: [PATCH] Update dZoneManager/dZoneManager.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- dZoneManager/dZoneManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dZoneManager/dZoneManager.cpp b/dZoneManager/dZoneManager.cpp index 530bb55f..9eb21467 100644 --- a/dZoneManager/dZoneManager.cpp +++ b/dZoneManager/dZoneManager.cpp @@ -368,9 +368,7 @@ void dZoneManager::BuildSceneGraph() { const auto& scenes = m_pZone->GetScenes(); for (const auto& [sceneID, sceneRef] : scenes) { // Ensure every scene has an entry, even if it has no transitions - if (m_SceneAdjacencyList.find(sceneID) == m_SceneAdjacencyList.end()) { - m_SceneAdjacencyList[sceneID] = std::vector(); - } + m_SceneAdjacencyList.try_emplace(sceneID, std::vector()); } // Build adjacency list from scene transitions