Fix wallmount interactions (#12013)
This commit is contained in:
@@ -545,9 +545,11 @@ namespace Content.Shared.Interaction
|
||||
range = (originPos.Position - targetPos.Position).Length;
|
||||
}
|
||||
}
|
||||
// No fixtures, e.g. wallmounts.
|
||||
else
|
||||
{
|
||||
originPos = Transform(origin).MapPosition;
|
||||
targetRot = Transform(Transform(other).ParentUid).LocalRotation + otherAngle;
|
||||
}
|
||||
|
||||
// Do a raycast to check if relevant
|
||||
|
||||
Reference in New Issue
Block a user