Add unoccluded check for pointing arrows (#2253)

* Make pointing check for occlusions

* Make pointing ignore the pointer in case you are hella occluding

* Merge branch 'master' of https://github.com/space-wizards/space-station-14 into unoccluded-pointing
This commit is contained in:
DrSmugleaf
2020-11-03 11:25:31 +01:00
committed by GitHub
parent 1e9968f2e1
commit 3970e8b179
2 changed files with 5 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ namespace Content.Server.GlobalVerbs
return;
}
if (!EntitySystem.Get<PointingSystem>().InRange(user.Transform.Coordinates, target.Transform.Coordinates))
if (!EntitySystem.Get<PointingSystem>().InRange(user, target.Transform.Coordinates))
{
return;
}