From 283cc1e15cb534f060e4d34f9f3b39375a61ec62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 15 Aug 2020 23:28:24 -0700 Subject: [PATCH] side effect --- 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 48bcc34..c604234 100644 --- a/MWSE/mods/celediel/MoreAttentiveGuards/combat.lua +++ b/MWSE/mods/celediel/MoreAttentiveGuards/combat.lua @@ -97,7 +97,7 @@ this.onCombatStarted = function(e) for _, cell in pairs(tes3.getActiveCells()) do alertGuards(e.actor, cell) end end --- hopefully this will stop guards attacking ignored actors +-- this will stop guards from attacking ignored actors ever this.onCombatStart = function(e) -- first try baseObject, else try object.baseObject, else settle on object local target = e.target.object.baseObject and e.target.object.baseObject or