From fb99760b2911c5b00efcd2abac63304ba14457bb Mon Sep 17 00:00:00 2001 From: Rage Date: Tue, 14 Jan 2025 21:05:12 -0500 Subject: [PATCH] Updated SWAG/DONUTS --- mods/SWAG + DONUTS/user/mods/SWAG/src/SWAG.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/SWAG + DONUTS/user/mods/SWAG/src/SWAG.ts b/mods/SWAG + DONUTS/user/mods/SWAG/src/SWAG.ts index d5e28a0..9cf892b 100644 --- a/mods/SWAG + DONUTS/user/mods/SWAG/src/SWAG.ts +++ b/mods/SWAG + DONUTS/user/mods/SWAG/src/SWAG.ts @@ -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; })