From fd885589e943974d98b6865214dc5efbd21a822d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 6 Aug 2020 09:56:38 -0400 Subject: [PATCH] v0.8.2: hunger buff icon now updates immediate if hunger is modified --- .../shatteredpixeldungeon/actors/buffs/Hunger.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Hunger.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Hunger.java index 70b42f172..fb0b876bf 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Hunger.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Hunger.java @@ -133,6 +133,7 @@ public class Hunger extends Buff implements Hero.Doom { partialDamage += excess * (target.HT/1000f); } + BuffIndicator.refreshHero(); } public boolean isStarving() {