when am I gonna stop doing dumb shit

This commit is contained in:
Lilian Jónsdóttir 2020-10-10 21:23:42 -07:00
parent 71d5a3bff2
commit c77806d846

View file

@ -151,11 +151,11 @@ local function checkForMovedOrDisabledNPCs(cell)
if badWeather then if badWeather then
common.runtimeData.NPCs.movedBadWeather[homeData.ogPlaceName] = common.runtimeData.NPCs.movedBadWeather[homeData.ogPlaceName] =
common.runtimeData.NPCs.movedBadWeather[homeData.ogPlaceName] or {} common.runtimeData.NPCs.movedBadWeather[homeData.ogPlaceName] or {}
common.runtimeData.NPCs.movedBadWeather[cell.id][npc.id] = homeData common.runtimeData.NPCs.movedBadWeather[homeData.ogPlaceName][npc.id] = homeData
else else
common.runtimeData.NPCs.moved[homeData.ogPlaceName] = common.runtimeData.NPCs.moved[homeData.ogPlaceName] =
common.runtimeData.NPCs.moved[homeData.ogPlaceName] or {} common.runtimeData.NPCs.moved[homeData.ogPlaceName] or {}
common.runtimeData.NPCs.moved[cell.id][npc.id] = homeData common.runtimeData.NPCs.moved[homeData.ogPlaceName][npc.id] = homeData
end end
end end
end end