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 GitHub
parent 8d8af1bab7
commit 12cd8100ec

View File

@@ -467,7 +467,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));
}
}