From caca1672bc06f3fc39ffa2da3ecbc8a6678d64c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Sat, 13 Jun 2020 15:38:50 +0200 Subject: [PATCH] Fix predicate documentation in a few methods related to InRangeUnobstructed --- .../GameObjects/EntitySystems/SharedInteractionSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/GameObjects/EntitySystems/SharedInteractionSystem.cs b/Content.Shared/GameObjects/EntitySystems/SharedInteractionSystem.cs index 787e91f041..158f0e5ff6 100644 --- a/Content.Shared/GameObjects/EntitySystems/SharedInteractionSystem.cs +++ b/Content.Shared/GameObjects/EntitySystems/SharedInteractionSystem.cs @@ -32,7 +32,7 @@ namespace Content.Server.GameObjects.EntitySystems /// Set of coordinates to use. /// Other set of coordinates to use. /// the mask to check for collisions - /// . + /// A predicate to check whether to ignore an entity or not. If it returns true, it will be ignored. /// Length of resulting ray. public float UnobstructedRayLength(MapCoordinates coords, MapCoordinates otherCoords, int collisionMask = (int) CollisionGroup.Impassable, Func predicate = null) @@ -72,7 +72,7 @@ namespace Content.Server.GameObjects.EntitySystems /// Other set of coordinates to use. /// maximum distance between the two sets of coordinates. /// the mask to check for collisions - /// . + /// A predicate to check whether to ignore an entity or not. If it returns true, it will be ignored. /// if coordinates inside obstructions count as obstructed or not /// True if the two points are within a given range without being obstructed. public bool InRangeUnobstructed(MapCoordinates coords, MapCoordinates otherCoords, float range = InteractionRange,