1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Settings: Use new settings object

This commit is contained in:
paramat
2017-05-22 14:41:17 +01:00
parent e523c3a296
commit eec1c5a03b
9 changed files with 16 additions and 16 deletions

View File

@ -131,7 +131,7 @@ default.cool_lava = function(pos, node)
{pos = pos, max_hear_distance = 16, gain = 0.25})
end
if minetest.setting_getbool("enable_lavacooling") ~= false then
if minetest.settings:get_bool("enable_lavacooling") ~= false then
minetest.register_abm({
label = "Lava cooling",
nodenames = {"default:lava_source", "default:lava_flowing"},