Fix support for last change of hbhunger

This commit is contained in:
sys4-fr 2016-11-25 17:06:01 +01:00 committed by rubenwardy
parent d50bf2b4cd
commit cdf47aba8b
1 changed files with 1 additions and 1 deletions

View File

@ -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()