From a992d2b8d24cab3789c2be0cc15b333fbb6b1af9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 23 Jan 2017 23:31:42 -0500 Subject: [PATCH] v0.5.0: fixed buff icons still being pressable after they were removed --- .../shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java index 43f9b5b27..9ec60c406 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java @@ -151,6 +151,8 @@ public class BuffIndicator extends Component { image.killAndErase(); } } ); + + icons.get( key ).destroy(); } }