summaryrefslogtreecommitdiff
path: root/technic/radiation.lua
diff options
context:
space:
mode:
authorJordan Irwin <antumdeluge@gmail.com>2017-06-05 07:50:30 -0700
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-06-05 10:50:30 -0400
commit97e1c8b7f2bd3de0dfb343c2c875630d2313dc5f (patch)
tree7c8d4c43f72300f591daa6dad58f6f299a97657c /technic/radiation.lua
parent9cc1a78371c3276db66051ee5f6e0cc173c7cded (diff)
Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#369)
Diffstat (limited to 'technic/radiation.lua')
-rw-r--r--technic/radiation.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/radiation.lua b/technic/radiation.lua
index 6a93483..67fee96 100644
--- a/technic/radiation.lua
+++ b/technic/radiation.lua
@@ -344,7 +344,7 @@ local function dmg_abm(pos, node)
end
end
-if minetest.setting_getbool("enable_damage") then
+if minetest.settings:get_bool("enable_damage") then
minetest.register_abm({
label = "Radiation damage",
nodenames = {"group:radioactive"},