diff options
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -258,7 +258,7 @@ local function restart_cart(pos) local velocity = minetest.deserialize(velocity_serial) local cartpos = minetest.deserialize(cartpos_serial) if not (type(velocity) == "table" and type(cartpos) == "table") then return end - local possible_carts = minetest.get_objects_inside_radius(cartpos,1) + local possible_carts = minetest.get_objects_inside_radius(cartpos,0.5) for _,object in pairs(possible_carts) do local cart = object:get_luaentity() if cart and cart.name == "carts:cart" then |