(7d2df62c0) fixed ID card tags

This commit is contained in:
Joonas Rikkonen
2019-06-04 16:41:39 +03:00
parent aadb0ffa80
commit fd8fe59688
6 changed files with 26 additions and 96 deletions
@@ -179,10 +179,6 @@ namespace Barotrauma
bool closeEnough = Vector2.DistanceSquared(Target.WorldPosition, character.WorldPosition) < CloseEnough * CloseEnough;
if (repeat)
{
if (closeEnough)
{
closeEnough = !(Target is Character) || Target is Character c && c.CurrentHull == character.CurrentHull;
}
if (closeEnough)
{
OnCompleted();