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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user