aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index b7ba839..8d3998c 100644
--- a/init.lua
+++ b/init.lua
@@ -811,7 +811,7 @@ local box_entity = {
self.lastpos = self.lastpos or pos
-- Loop through all travelled nodes.
- for y=self.lastpos.y,pos.y,((self.lastpos.y > pos.y) and -0.5 or 0.5) do
+ for y=self.lastpos.y,pos.y,((self.lastpos.y > pos.y) and -0.3 or 0.3) do
local p = vector.round({x=pos.x, y=y, z=pos.z})
local node = get_node(p)
if node.name == "elevator:shaft" then