No pointing at pointing arrows (#1527)
This commit is contained in:
@@ -92,6 +92,12 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
return false;
|
||||
}
|
||||
|
||||
if (EntityManager.TryGetEntity(uid, out var entity) && entity.HasComponent<PointingArrowComponent>())
|
||||
{
|
||||
// this is a pointing arrow. no pointing here...
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!InRange(coords, player.Transform.GridPosition))
|
||||
{
|
||||
player.PopupMessage(player, Loc.GetString("You can't reach there!"));
|
||||
|
||||
Reference in New Issue
Block a user