Skip to content
Snippets Groups Projects
Commit 054efc06 authored by dg's avatar dg
Browse files

Dark Portal correctly triggers on teleport effects

git-svn-id: http://svn.net-core.org/repos/t-engine4@6694 51575b47-30f0-44d4-a5cc-537603b46e54
parent 141cc963
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ newTalent{
end
local tx, ty = util.findFreeGrid(x, y, 20, true, {[Map.ACTOR]=true})
if tx and ty then self:move(tx, ty, true) end
if tx and ty then self:teleportRandom(x, y, 0) end
game:playSoundNear(self, "talents/slime")
return true
......
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