mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Removes obsolete AnchorEntity() functions (#28613)
Obsolete anchor entity functions Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
parent
af1acf6e60
commit
f6bb10503f
2 changed files with 2 additions and 2 deletions
|
|
@ -810,7 +810,7 @@ public sealed partial class BiomeSystem : SharedBiomeSystem
|
|||
// 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);
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ public sealed partial class DungeonSystem
|
|||
|
||||
// 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue