diff --git a/init.lua b/init.lua index 15fa176..bf2b368 100644 --- a/init.lua +++ b/init.lua @@ -9,6 +9,8 @@ function sneaker.log(message) minetest.log("action", "[" .. sneaker.modname .. "] " .. message) end +sneaker.spawn_cap = tonumber(minetest.settings:get("sneaker_spawn_cap")) or 50 + local scripts = { "tnt_function", "spawn",