Add dungeon templates as uninitialized maps (#17468)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user