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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4345 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4b5a92a4
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,7 @@ end
function _M:move(x, y, force)
if not x or not y then return end
if self.dead then return true end
if not game.level then return end
local map = game.level.map
x = math.floor(x)
......
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