aboutsummaryrefslogtreecommitdiff
path: root/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.lua')
-rw-r--r--helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.lua b/helpers.lua
index ccd8ebb..2df4253 100644
--- a/helpers.lua
+++ b/helpers.lua
@@ -13,7 +13,7 @@ elevator.teleport_player_from_elevator = function(player)
if node.name == "elevator:elevator_on" then
local front = vector.subtract(pos, minetest.facedir_to_dir(node.param2))
local front_above = vector.add(front, {x=0, y=1, z=0})
- local front_below = vector.subtract(front, {x=0, y=1, z=0})
+ -- local front_below = vector.subtract(front, {x=0, y=1, z=0})
-- If the front isn't solid, it's ok to teleport the player.
if not solid(front) and not solid(front_above) then
player:setpos(front)