From f6bb10503faaac793a96cef500d6bb3bec434a93 Mon Sep 17 00:00:00 2001 From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Sun, 30 Jun 2024 07:32:48 -0700 Subject: [PATCH] Removes obsolete AnchorEntity() functions (#28613) Obsolete anchor entity functions Co-authored-by: plykiya --- Content.Server/Parallax/BiomeSystem.cs | 2 +- Content.Server/Procedural/DungeonSystem.Rooms.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Parallax/BiomeSystem.cs b/Content.Server/Parallax/BiomeSystem.cs index ec780d1f99c4bf..7e854e8bbfb7de 100644 --- a/Content.Server/Parallax/BiomeSystem.cs +++ b/Content.Server/Parallax/BiomeSystem.cs @@ -810,7 +810,7 @@ private void LoadChunk( // At least for now unless we do lookups or smth, only work with anchoring. if (_xformQuery.TryGetComponent(ent, out var xform) && !xform.Anchored) { - _transform.AnchorEntity(ent, xform, gridUid, grid, indices); + _transform.AnchorEntity((ent, xform), (gridUid, grid), indices); } loadedEntities.Add(ent, indices); diff --git a/Content.Server/Procedural/DungeonSystem.Rooms.cs b/Content.Server/Procedural/DungeonSystem.Rooms.cs index 5b4de34906e6cb..ddd4a4732f8e2d 100644 --- a/Content.Server/Procedural/DungeonSystem.Rooms.cs +++ b/Content.Server/Procedural/DungeonSystem.Rooms.cs @@ -177,7 +177,7 @@ public void SpawnRoom( // If the templated entity was anchored then anchor us too. if (anchored && !childXform.Anchored) - _transform.AnchorEntity(ent, childXform, grid); + _transform.AnchorEntity((ent, childXform), (gridUid, grid)); else if (!anchored && childXform.Anchored) _transform.Unanchor(ent, childXform); }