diff --git a/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua b/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua index 3be794a..2cfff51 100644 --- a/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua +++ b/MWSE/mods/celediel/NPCsGoHome/functions/processors.lua @@ -189,7 +189,9 @@ this.searchCellsForPositions = function() updatePositions(door.destination.cell) -- one more time for internalDoor in door.destination.cell:iterateReferences(tes3.objectType.door) do - if internalDoor.destination then updatePositions(internalDoor.destination.cell) end + if internalDoor.destination and internalDoor.destination.cell ~= cell then + updatePositions(internalDoor.destination.cell) + end end end end