From 386170f72fa7f9e320be8e35f36a1b723bcf7176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 2 Aug 2020 15:08:00 -0700 Subject: [PATCH] sometimes bounty is nil ??? --- MWSE/mods/celediel/MoreAttentiveGuards/combat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MWSE/mods/celediel/MoreAttentiveGuards/combat.lua b/MWSE/mods/celediel/MoreAttentiveGuards/combat.lua index 2502426..af4f9d0 100644 --- a/MWSE/mods/celediel/MoreAttentiveGuards/combat.lua +++ b/MWSE/mods/celediel/MoreAttentiveGuards/combat.lua @@ -45,7 +45,7 @@ local function doChecks(e) return false end - if tes3.mobilePlayer.bounty > 0 then + if tes3.mobilePlayer.bounty and tes3.mobilePlayer.bounty > 0 then log("Player is wanted, ignoring combat.") return false end