summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-06-20 16:50:57 +0200
committerWuzzy <almikes@aol.com>2017-06-20 16:50:57 +0200
commit3d7d613622cccecd2712251c758ed7bd10b734e4 (patch)
treefd11b3625ee6573e7beea506d54ffa4ce51bd588
parentda70eba4fd0a9644cdb0a5b0d7ee3d93f7e61acf (diff)
Update deprecated settings syntax
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 0a9a722..cadaa89 100644
--- a/init.lua
+++ b/init.lua
@@ -5,7 +5,7 @@ else
S = function ( s ) return s end
end
-if minetest.setting_getbool("enable_damage") then
+if minetest.settings:get_bool("enable_damage") then
hbhunger = {}
hbhunger.food = {}