summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-07-08 20:51:59 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-07-08 20:51:59 +0100
commitf6b5effe09d3116c9e1231eaa38f7f9ab2535eb9 (patch)
tree28b23ab030222ca0ea1f9b469709d19c6a0b0a0e
parentadc4e71a01728061e47f5af3a9055afb21e53179 (diff)
change aoc_range
-rw-r--r--api.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/api.lua b/api.lua
index b19523f..e1c49b3 100644
--- a/api.lua
+++ b/api.lua
@@ -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