mirror of
https://github.com/APercy/automobiles_pck
synced 2025-11-06 15:07:57 +01:00
fix
This commit is contained in:
parent
286a79012b
commit
c9c5a4981e
@ -69,7 +69,7 @@ function automobiles.get_obstacle(ref_pos)
|
||||
--lets clone the table
|
||||
local retval = {x=ref_pos.x, y=ref_pos.y, z=ref_pos.z}
|
||||
--minetest.chat_send_all("aa y: " .. dump(retval.y))
|
||||
local i_pos = {x=ref_pos.x, y=ref_pos.y+1, z=ref_pos.z}
|
||||
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})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user