Use new setting functions

This commit is contained in:
Hybrid Dog
2017-06-18 12:09:12 +02:00
parent f7b048a851
commit 812b0f977e
3 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@ end
for i,v in pairs(snow) do
if allowed_types[type(v)] then
local v = minetest.setting_get("snow_"..i)
local v = minetest.settings:get("snow_"..i)
if v ~= nil then
snow[i] = value_from_string(v)
end