Skip to content
Snippets Groups Projects
Commit 24b0d439 authored by dg's avatar dg
Browse files

Fix summons not attacking foes

git-svn-id: http://svn.net-core.org/repos/t-engine4@1342 51575b47-30f0-44d4-a5cc-537603b46e54
parent d5607e78
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment