summaryrefslogtreecommitdiff
path: root/luaentity.lua
diff options
context:
space:
mode:
authorroot <root@linuxworks.belug.de>2017-05-20 10:31:21 +0200
committerroot <root@linuxworks.belug.de>2017-05-20 10:31:21 +0200
commit614a785c394fa47d78ca2f308f848cd33c507a93 (patch)
treeca7ca1d2071f3b52ef1646b95c8cfe2c1727e868 /luaentity.lua
parente3f858c9484d9036354a89f0ca2c395e71bd1fbe (diff)
parent69d994a2a28b435a5cc37528fccce04c44d1d5ba (diff)
Merge branch 'master' of https://github.com/minetest-mods/pipeworks
Diffstat (limited to 'luaentity.lua')
-rw-r--r--luaentity.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaentity.lua b/luaentity.lua
index ab7280c..382b0c1 100644
--- a/luaentity.lua
+++ b/luaentity.lua
@@ -71,7 +71,7 @@ end
local active_blocks = {} -- These only contain active blocks near players (i.e., not forceloaded ones)
local move_entities_globalstep_part1 = function(dtime)
- local active_block_range = tonumber(minetest.setting_get("active_block_range")) or 2
+ local active_block_range = tonumber(minetest.settings:get("active_block_range")) or 2
local new_active_blocks = {}
for _, player in ipairs(minetest.get_connected_players()) do
local blockpos = get_blockpos(player:getpos())