OBT/1.2.0(Spring Update)
Sync with Upstream
This commit is contained in:
@@ -271,6 +271,10 @@ namespace Barotrauma
|
||||
ParentEvent.AddTarget(TargetTag, newCharacter);
|
||||
}
|
||||
spawnedEntity = newCharacter;
|
||||
if (newCharacter is { AIController: EnemyAIController enemyAi, Submarine: Submarine ownSub })
|
||||
{
|
||||
enemyAi.SetUnattackableSubmarines(ownSub);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user