don't actually need all that

This commit is contained in:
Lilian Jónsdóttir 2020-08-02 10:40:25 -07:00
parent 0446ccd2d7
commit de63b259f7

View file

@ -72,12 +72,9 @@ this.onCombatStarted = function(e)
return
end
local cell = tes3.getPlayerCell()
if cell.isInterior and not cell.behavesAsExterior then
for _, cell in pairs(tes3.getActiveCells()) do
alertGuards(e.actor, cell)
else
for _, extCell in pairs(tes3.getActiveCells()) do alertGuards(e.actor, extCell) end
end
end