Skip to content
Snippets Groups Projects
Commit 27002ab6 authored by dg's avatar dg
Browse files

Fix Smoke Bomb when cast on the player

git-svn-id: http://svn.net-core.org/repos/t-engine4@2737 51575b47-30f0-44d4-a5cc-537603b46e54
parent eb44432b
No related branches found
No related tags found
No related merge requests found
......@@ -264,6 +264,6 @@ end
-- This method should be called by your Player:setTarget() method, it will handle everything
function _M:targetSetForPlayer(target)
self.target.target.entity = target
self.target.target.x = target.x
self.target.target.y = target.y
self.target.target.x = (type(target) == "table" and target.x) or nil
self.target.target.y = (type(target) == "table" and target.y) or nil
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