From 61deb361327386d554fa19cc2f3905772584e67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Tue, 13 Oct 2020 23:50:54 -0700 Subject: [PATCH] don't put that on the timer, just cell change oops --- MWSE/mods/celediel/NPCsGoHome/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MWSE/mods/celediel/NPCsGoHome/main.lua b/MWSE/mods/celediel/NPCsGoHome/main.lua index 7e7cc71..3ae0ef5 100644 --- a/MWSE/mods/celediel/NPCsGoHome/main.lua +++ b/MWSE/mods/celediel/NPCsGoHome/main.lua @@ -96,7 +96,6 @@ local function updateCells() common.runtimeData.followers = buildFollowerList() processors.searchCellsForNPCs() - processors.searchCellsForPositions() for _, cell in pairs(tes3.getActiveCells()) do log(common.logLevels.large, "[MAIN] Applying changes to cell %s", cell.id) @@ -170,6 +169,7 @@ end eventFunctions.onCellChanged = function(e) updateCells() + processors.searchCellsForPositions() updatePlayerTrespass(e.cell, e.previousCell) checkEnteredNPCHome(e.cell) if e.cell.name then -- exterior wilderness cells don't have name