From 5c3411567e2883c755776e75c4d94e334e807e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 16 Aug 2020 16:17:41 -0700 Subject: [PATCH] don't send nil --- 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 bd02ddc..7a51f48 100644 --- a/MWSE/mods/celediel/NPCsGoHome/main.lua +++ b/MWSE/mods/celediel/NPCsGoHome/main.lua @@ -850,7 +850,7 @@ local function applyChanges(cell) if isIgnoredCell(cell) then return end -- Interior cell, except Waistworks, don't do anything - if isInteriorCell(cell) and not (config.waistWorks and isCantonCell(cell.name)) then return end + if isInteriorCell(cell) and not (config.waistWorks and isCantonCell(cell.id)) then return end -- don't do anything to public houses if isPublicHouse(cell) then return end