replace deprecated setting methods

This commit is contained in:
DS-Minetest
2017-07-05 18:52:46 +02:00
parent a7da195aa1
commit e8a666f34e
5 changed files with 13 additions and 13 deletions

View File

@ -142,7 +142,7 @@ local function do_ws_func(depth, a, x)
return SIZE * y / math.pi
end
local chunksize = minetest.setting_get("chunksize") or 5
local chunksize = minetest.settings:get("chunksize") or 5
local ws_lists = {}
local function get_ws_list(a,x)
ws_lists[a] = ws_lists[a] or {}