Faction Test 100.5.0.0

This commit is contained in:
Markus Isberg
2022-11-18 18:32:04 +02:00
parent c772b61fc1
commit c44fb0ad3a
118 changed files with 1424 additions and 707 deletions
@@ -991,7 +991,7 @@ namespace Barotrauma.Items.Components
{
if (character == null || character.Removed || character.IsDead) { continue; }
if (!friendlyTag.IsEmpty && (character.SpeciesName.Equals(friendlyTag) || character.Group.Equals(friendlyTag))) { continue; }
bool isHuman = character.IsHuman || character.Params.Group == CharacterPrefab.HumanSpeciesName;
bool isHuman = character.IsHuman || character.Group == CharacterPrefab.HumanSpeciesName;
if (isHuman)
{
if (!targetHumans)