From 69c6ab5aaf5e631d4dde6c5a0a059b3adcfd41a5 Mon Sep 17 00:00:00 2001 From: Vordenburg <114301317+Vordenburg@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:47:59 -0400 Subject: [PATCH] Add dungeon templates as uninitialized maps (#17468) --- Content.Server/Procedural/DungeonSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/Procedural/DungeonSystem.cs b/Content.Server/Procedural/DungeonSystem.cs index 7dabc23943..00a06ac754 100644 --- a/Content.Server/Procedural/DungeonSystem.cs +++ b/Content.Server/Procedural/DungeonSystem.cs @@ -150,6 +150,7 @@ public sealed partial class DungeonSystem : EntitySystem } var mapId = _mapManager.CreateMap(); + _mapManager.AddUninitializedMap(mapId); _loader.Load(mapId, proto.AtlasPath.ToString()); var mapUid = _mapManager.GetMapEntityId(mapId); _mapManager.SetMapPaused(mapId, true);