From 24b0d439c914a24211cdf8d21f3643826e42e320 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Thu, 30 Sep 2010 17:32:31 +0000 Subject: [PATCH] Fix summons not attacking foes git-svn-id: http://svn.net-core.org/repos/t-engine4@1342 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/ai/summon.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/game/modules/tome/ai/summon.lua b/game/modules/tome/ai/summon.lua index 3ca971a68a..31ab388a33 100644 --- a/game/modules/tome/ai/summon.lua +++ b/game/modules/tome/ai/summon.lua @@ -28,6 +28,7 @@ newAI("summoned", function(self) end -- Do the normal AI, otherwise follows summoner + if self.ai_target.actor == self.summoner then self.ai_target.actor = nil end if self:runAI("target_simple") then return self:runAI(self.ai_real) else -- GitLab