mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix wallmount interactions (#12013)
This commit is contained in:
parent
16c3b6efdc
commit
2a2434dbea
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue