summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ward <anjayward@gmail.com>2013-09-20 12:09:16 +0100
committerAndrew Ward <anjayward@gmail.com>2013-09-20 12:09:16 +0100
commit8c4807fe74f465eece951496edb67ad56cc1a6ac (patch)
tree1d7aa3680829eb09293400f156556fe54b360d14
parentb17c3c6ed423752a55072180076718b9c36eab3d (diff)
Fix BetterHud Support
-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