Transform refactor. (#139)

space-wizards/space-station-14#725
This commit is contained in:
Pieter-Jan Briers
2019-01-18 11:40:30 +01:00
committed by GitHub
parent e8e1c9dd1f
commit 415b7e96fd
30 changed files with 71 additions and 71 deletions

View File

@@ -192,7 +192,7 @@ namespace Content.Client.Construction
if (prototype.Type != ConstructionType.Structure)
{
// In-hand attackby doesn't exist so this is the best alternative.
var loc = Owner.Owner.GetComponent<ITransformComponent>().LocalPosition;
var loc = Owner.Owner.GetComponent<ITransformComponent>().GridPosition;
Owner.SpawnGhost(prototype, loc, Direction.North);
return;
}

View File

@@ -23,7 +23,7 @@ namespace Content.Client.Construction
Owner = owner;
}
public override bool HijackPlacementRequest(GridLocalCoordinates coords)
public override bool HijackPlacementRequest(GridCoordinates coords)
{
if (Prototype != null)
{