mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2025-06-30 23:30:22 +02:00
Use new setting functions
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user