oops forgot to take that off the timer too

This commit is contained in:
Lilian Jónsdóttir 2020-10-14 23:57:22 -07:00
parent 23268b01f3
commit 3769df8aef

View file

@ -92,7 +92,6 @@ local function updateCells()
log(common.logLevels.medium, "[MAIN] Updating active cells!") log(common.logLevels.medium, "[MAIN] Updating active cells!")
common.runtimeData.followers = buildFollowerList() common.runtimeData.followers = buildFollowerList()
processors.searchCellsForNPCs()
for _, cell in pairs(tes3.getActiveCells()) do for _, cell in pairs(tes3.getActiveCells()) do
log(common.logLevels.large, "[MAIN] Applying changes to cell %s", cell.id) log(common.logLevels.large, "[MAIN] Applying changes to cell %s", cell.id)
@ -167,6 +166,7 @@ end
eventFunctions.onCellChanged = function(e) eventFunctions.onCellChanged = function(e)
updateCells() updateCells()
processors.searchCellsForPositions() processors.searchCellsForPositions()
processors.searchCellsForNPCs()
updatePlayerTrespass(e.cell, e.previousCell) updatePlayerTrespass(e.cell, e.previousCell)
checkEnteredNPCHome(e.cell) checkEnteredNPCHome(e.cell)
if e.cell.name then -- exterior wilderness cells don't have name if e.cell.name then -- exterior wilderness cells don't have name