From: TemporalOroboros Date: Sat, 25 Oct 2025 16:54:12 +0000 (-0700) Subject: Purges uses of TransformComponent.Coordinates.set (#34937) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=12cd8100ec16e20c5a0c300e02006a2c4ce85914;p=space-station-14.git 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> --- diff --git a/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs b/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs index 7dd4ea4d11..75680089fb 100644 --- a/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs +++ b/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs @@ -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)); } }