Skip to content

Commit

Permalink
Update ShuttleDockControl.xaml.cs to not use Component.Owner (#29966)
Browse files Browse the repository at this point in the history
Update ShuttleDockControl.xaml.cs

Co-authored-by: plykiya <[email protected]>
  • Loading branch information
Plykiya and plykiya authored Jul 13, 2024
1 parent b94b523 commit 3acc100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Client/Shuttles/UI/ShuttleDockControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected override void Draw(DrawingHandleScreen handle)
DrawCircles(handle);
var gridNent = EntManager.GetNetEntity(GridEntity);
var mapPos = _xformSystem.ToMapCoordinates(_coordinates.Value);
var ourGridMatrix = _xformSystem.GetWorldMatrix(gridXform.Owner);
var ourGridMatrix = _xformSystem.GetWorldMatrix(GridEntity.Value);
var dockMatrix = Matrix3Helpers.CreateTransform(_coordinates.Value.Position, Angle.Zero);
var worldFromDock = Matrix3x2.Multiply(dockMatrix, ourGridMatrix);

Expand Down

0 comments on commit 3acc100

Please sign in to comment.