mirror of
https://github.com/APercy/automobiles_pck
synced 2025-07-22 06:18:54 +02:00
fix
This commit is contained in:
parent
64fa93d8f9
commit
9540ab62a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user