change aoc_range

This commit is contained in:
TenPlus1 2018-07-08 20:51:59 +01:00
parent adc4e71a01
commit f6b5effe09
1 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
mobs = {}
mobs.mod = "redo"
mobs.version = "20180701"
mobs.version = "20180708"
-- Intllib
@ -75,9 +75,7 @@ if peaceful_only then
end
-- calculate aoc range for mob count
local aosrb = tonumber(minetest.settings:get("active_object_send_range_blocks"))
local abr = tonumber(minetest.settings:get("active_block_range"))
local aoc_range = max(aosrb, abr) * 16
local aoc_range = tonumber(minetest.settings:get("active_block_range")) * 16
-- pathfinding settings
local enable_pathfinding = true