summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-15 16:11:41 -0500
committercheapie <no-email-for-you@example.com>2020-04-15 16:11:41 -0500
commit92a8d35af79e1cff5bd4372d6af3e34196e2a3ed (patch)
tree1c687d44d5fa8ea218a465bb24e2ae7f561c0a5f
parent69c7b84ddaf6beb159e06e6366a7b5e8c542f86b (diff)
downloadmesecons_carts-92a8d35af79e1cff5bd4372d6af3e34196e2a3ed.tar
mesecons_carts-92a8d35af79e1cff5bd4372d6af3e34196e2a3ed.tar.gz
mesecons_carts-92a8d35af79e1cff5bd4372d6af3e34196e2a3ed.tar.bz2
mesecons_carts-92a8d35af79e1cff5bd4372d6af3e34196e2a3ed.tar.xz
mesecons_carts-92a8d35af79e1cff5bd4372d6af3e34196e2a3ed.zip
Remove the ability to teleport carts with the digilines rails, for real this time
-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