(bfc857b70) Ignore the requirement for being able to interact with a character while following the player.

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:22:41 +03:00
parent 3cc0b65946
commit 1e0d7daa56
@@ -175,7 +175,7 @@ namespace Barotrauma
{ {
if (character.CanInteractWith(item, out _, checkLinked: false)) { isCompleted = true; } if (character.CanInteractWith(item, out _, checkLinked: false)) { isCompleted = true; }
} }
else if (Target is Character targetCharacter) else if (Target is Character targetCharacter && !FollowControlledCharacter)
{ {
if (character.CanInteractWith(targetCharacter, CloseEnough)) { isCompleted = true; } if (character.CanInteractWith(targetCharacter, CloseEnough)) { isCompleted = true; }
} }