summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsys4-fr <sys4@free.fr>2016-11-25 17:06:01 +0100
committerrubenwardy <rubenwardy@gmail.com>2016-11-25 16:06:01 +0000
commitcdf47aba8b5ff502bc2fb10b6519ffd9211acd4b (patch)
treea4377054a9a587e7213b527c0bb4728e75682860
parentd50bf2b4cd7e10790b137409c19a69bf19ee6cfd (diff)
Fix support for last change of hbhunger
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index b91bddf..6922773 100644
--- a/init.lua
+++ b/init.lua
@@ -100,7 +100,7 @@ function diet.item_eat(max, replace_with_item, poisen, heal)
h = h + points
if h > 30 then h = 30 end
hbhunger.hunger[name] = h
- hbhunger.set_hunger(user)
+ hbhunger.set_hunger_raw(user)
-- healing
local hp = user:get_hp()