Remove 700 usages of Component.Owner (#21100)
This commit is contained in:
@@ -21,11 +21,6 @@ namespace Content.Shared.Coordinates
|
||||
return new EntityCoordinates(id, x, y);
|
||||
}
|
||||
|
||||
public static EntityCoordinates ToCoordinates(this MapGridComponent grid, Vector2 offset)
|
||||
{
|
||||
return ToCoordinates(grid.Owner, offset);
|
||||
}
|
||||
|
||||
public static EntityCoordinates ToCoordinates(this MapGridComponent grid, float x, float y)
|
||||
{
|
||||
return ToCoordinates(grid.Owner, x, y);
|
||||
|
||||
Reference in New Issue
Block a user