diff options
author | Wuzzy <almikes@aol.com> | 2016-08-05 18:09:00 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-05 18:09:00 +0200 |
commit | a9d8f0f859ee4e8c66c02c7647106b62e184368f (patch) | |
tree | ba0e3e340d2a3b52e69ca34c3b1f8c758e276be9 | |
parent | d259cf59d2ca2af6a0700400416762dfb27dcd39 (diff) |
Add whole number of poisenp
-rw-r--r-- | hunger.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ function hbhunger.item_eat(hunger_change, replace_with_item, poisen, heal) -- Set poison bar hb.change_hudbar(user, "health", nil, nil, "hbhunger_icon_health_poison.png", nil, "hbhunger_bar_health_poison.png") hbhunger.poisonings[name] = hbhunger.poisonings[name] + 1 - poisenp(1.0, poisen, 0, user) + poisenp(1, poisen, 0, user) end --sound:eat |