summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index d308eb8..f3d5c5d 100644
--- a/init.lua
+++ b/init.lua
@@ -62,7 +62,7 @@ function food.asupport(group,add)
end
function food.item_eat(amt)
if minetest.get_modpath("hud") then
- return hud.item_eat(hunger_change)
+ return hud.item_eat(amt)
else
return minetest.item_eat(amt)
end