mirror of
https://github.com/APercy/automobiles_pck
synced 2025-09-20 10:16:24 +02:00
fix
This commit is contained in:
parent
c9c5a4981e
commit
c34ad763bc
@ -72,7 +72,7 @@ function automobiles.get_obstacle(ref_pos)
|
||||
local i_pos = {x=ref_pos.x, y=ref_pos.y+1.5, z=ref_pos.z}
|
||||
--minetest.chat_send_all("bb y: " .. dump(i_pos.y))
|
||||
|
||||
retval.y = automobiles.eval_interception(i_pos, {x=i_pos.x, y=i_pos.y - 2, z=i_pos.z})
|
||||
retval.y = automobiles.eval_interception(i_pos, {x=i_pos.x, y=i_pos.y - 3, z=i_pos.z})
|
||||
|
||||
--minetest.chat_send_all("y: " .. dump(ref_pos.y) .. " ye: ".. dump(retval.y))
|
||||
return retval
|
||||
|
Loading…
Reference in New Issue
Block a user