Merge branch 'master' of https://github.com/Regalis11/Barotrauma into develop

This commit is contained in:
EvilFactory
2023-03-16 12:53:53 -03:00
14 changed files with 34 additions and 21 deletions
@@ -1195,7 +1195,7 @@ namespace Barotrauma
{
target = limb.character;
}
if (target != null && (target != Enemy || HumanAIController.IsFriendly(target)))
if (target != null && target != Enemy && HumanAIController.IsFriendly(target))
{
return;
}