// 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);
// 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);
}