Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
BRNSystems committed May 21, 2023
1 parent 7d2e4af commit 451983b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ minetest.register_globalstep(function(dtime)
elseif controls.sneak then
where = "below"
else return end
local epos = get_near_televators(pos, where, 64)
if nodename == 'an_televator:televator_dia' then
local epos = get_near_televators(pos, where, 256)
else
local epos = get_near_televators(pos, where, 64)
epos = get_near_televators(pos, where, 256)
end
if epos then
Expand Down

0 comments on commit 451983b

Please sign in to comment.