Updated SWAG/DONUTS

This commit is contained in:
Rage 2025-01-14 21:05:12 -05:00
parent 951d0201f9
commit fb99760b29
1 changed files with 2 additions and 2 deletions

View File

@ -786,11 +786,11 @@ class SWAG implements IPreSptLoadMod, IPostDBLoadMod
}
// Set bot USECs and BEARs to always be hostile to their chanced enemies
locations[map].base.BotLocationModifier.AdditionalHostilitySettings.forEach(setting =>
locations[map].base.BotLocationModifier?.AdditionalHostilitySettings?.forEach(setting =>
{
setting.BearEnemyChance = 100;
setting.UsecEnemyChance = 100;
setting.ChancedEnemies.forEach(enemy =>
setting.ChancedEnemies?.forEach(enemy =>
{
enemy.EnemyChance = 100;
})