From 92a8d35af79e1cff5bd4372d6af3e34196e2a3ed Mon Sep 17 00:00:00 2001 From: cheapie Date: Wed, 15 Apr 2020 16:11:41 -0500 Subject: Remove the ability to teleport carts with the digilines rails, for real this time --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 1e4298c..8bb9002 100644 --- a/init.lua +++ b/init.lua @@ -414,7 +414,7 @@ if minetest.get_modpath("digilines") then local velocity = trackmeta:get_string("velocity") if velocity then velocity = minetest.deserialize(velocity) end if not velocity then return end - local possible_carts = minetest.get_objects_inside_radius(pos,1) + local possible_carts = minetest.get_objects_inside_radius(pos,0.5) for _,object in pairs(possible_carts) do local cart = object:get_luaentity() if cart and cart.name == "carts:cart" then -- cgit v1.2.3