Skip to content
Snippets Groups Projects
Commit 18b07ee7 authored by DarkGod's avatar DarkGod
Browse files

Fixed quakes

parent 8b5bef6a
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ function _M:doQuake(rad, x, y, check)
game.level.map.attrs[l.x + l.y * w] = m.attrs
for z, e in pairs(m.map or {}) do
if e.move then
e.x = nil e.y = nil e:move(l.x, l.y, true)
e:move(l.x, l.y, true)
end
end
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