Remove the ability to teleport carts with the digilines rails, for real this time

This commit is contained in:
cheapie 2020-04-15 16:11:41 -05:00
parent 69c7b84dda
commit 92a8d35af7

View File

@ -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