summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-05 18:09:00 +0200
committerWuzzy <almikes@aol.com>2016-08-05 18:09:00 +0200
commita9d8f0f859ee4e8c66c02c7647106b62e184368f (patch)
treeba0e3e340d2a3b52e69ca34c3b1f8c758e276be9
parentd259cf59d2ca2af6a0700400416762dfb27dcd39 (diff)
Add whole number of poisenp
-rw-r--r--hunger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/hunger.lua b/hunger.lua
index bf0ae8f..c177421 100644
--- a/hunger.lua
+++ b/hunger.lua
@@ -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