Removes obsolete AnchorEntity() functions (#28613)
Obsolete anchor entity functions Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user