aboutsummaryrefslogtreecommitdiff
path: root/advtrains/couple.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/couple.lua')
-rw-r--r--advtrains/couple.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/couple.lua b/advtrains/couple.lua
index a846c8b..675bed5 100644
--- a/advtrains/couple.lua
+++ b/advtrains/couple.lua
@@ -140,7 +140,7 @@ minetest.register_entity("advtrains:couple", {
else
tp2=advtrains.get_real_index_position(train2.path, advtrains.get_train_end_index(train2))
end
- if not tp1 or not tp2 or not (vector.distance(tp1,tp2)<0.5) then
+ if not tp1 or not tp2 or not (vector.distance(tp1,tp2)<1.5) then
self.object:remove()
return
else