summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-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 = {}