From c352c52cc189c92ecc7df961100cc7b81eab309d Mon Sep 17 00:00:00 2001 From: Alexander Sedov <alex0player@gmail.com> Date: Fri, 30 Jan 2015 12:51:22 +0300 Subject: [PATCH] Fixed wife's dream not spawning wife on 2nd+ tiems during game session. --- game/modules/tome/data/zones/dreams/npcs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/zones/dreams/npcs.lua b/game/modules/tome/data/zones/dreams/npcs.lua index 8ec250824c..8bce3ae02b 100644 --- a/game/modules/tome/data/zones/dreams/npcs.lua +++ b/game/modules/tome/data/zones/dreams/npcs.lua @@ -77,7 +77,7 @@ newEntity{ if e.define_as == "ILLUSION_YEEK" then nb = nb + 1 end end if self.is_wife or nb <= 1 then - m = game.zone.npc_list.WIFE + m = game.zone.npc_list.WIFE:clone() else local list = require("mod.class.NPC"):loadList("/data/general/npcs/ghoul.lua") m = list.GHOUL:clone() -- GitLab