Skip to content
Snippets Groups Projects
Commit 6fd4cdda authored by dg's avatar dg
Browse files

Fix presing escape when using the Attack talent

git-svn-id: http://svn.net-core.org/repos/t-engine4@2924 51575b47-30f0-44d4-a5cc-537603b46e54
parent 30978eb5
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,9 @@ newTalent{
action = function(self, t)
local tg = self:getTalentTarget(t)
local x, y = self:getTarget(tg)
if not x then return end
local _ _, x, y = self:canProject(tg, x, y)
if not x then return end
local target = game.level.map(x, y, engine.Map.ACTOR)
if not target then return end
......
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