From 1c2bb40b2632c8bf9c2ed491f51d047c0cd1b333 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 21 Jul 2016 01:45:25 -0400 Subject: [PATCH] v0.4.1: fixed some bugs with item slot changes --- .../shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java b/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java index 1b7367b2b..d888ca6a0 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java @@ -149,15 +149,15 @@ public class ItemSlot extends Button { this.item = item; if (item == null) { - - active = false; + + enable(false); icon.visible(false); updateText(); } else { - active = true; + enable(true); icon.visible(true); icon.view( item );