Purges uses of TransformComponent.Coordinates.set (#34937)

* ECS-TransformComponent-Coordinates
Moves over all uses of the setter to use SharedTransformSystem.SetCoordinates instead

* revert unrelated change

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
TemporalOroboros 2025-10-25 09:54:12 -07:00 committed by Vanessa
parent ad4f64fcd6
commit 70f775fd8e
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ public abstract partial class SharedBuckleSystem
// TODO: This is doing 4 moveevents this is why I left the warning in, if you're going to remove it make it only do 1 moveevent.
if (strap.Comp.BuckleOffset != Vector2.Zero)
{
buckleXform.Coordinates = oldBuckledXform.Coordinates.Offset(strap.Comp.BuckleOffset);
_transform.SetCoordinates(buckle, buckleXform, oldBuckledXform.Coordinates.Offset(strap.Comp.BuckleOffset));
}
}