summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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