This commit is contained in:
Alexsandro Percy 2022-01-27 11:46:40 -03:00
parent 64fa93d8f9
commit 9540ab62a6

View File

@ -99,10 +99,7 @@ function automobiles_lib.get_obstacle(ref_pos)
--minetest.chat_send_all("bb y: " .. dump(i_pos.y))
local y = automobiles_lib.eval_interception(i_pos, {x=i_pos.x, y=i_pos.y - 2, z=i_pos.z})
if y then
retval.y = y
end
--minetest.chat_send_all(dump(retval.y))
retval.y = y
--minetest.chat_send_all("y: " .. dump(ref_pos.y) .. " ye: ".. dump(retval.y))
return retval