v0.4.1a: fixed quickslots not always updating properly

This commit is contained in:
Evan Debenham 2016-08-08 20:45:34 -04:00
parent fbeb13a87c
commit 9e14340a90
2 changed files with 5 additions and 0 deletions

View File

@ -193,6 +193,10 @@ public class ItemSprite extends MovieClip {
return this;
}
public void frame( int image ){
frame( film.get( image ));
}
@Override
public void kill() {
super.kill();

View File

@ -142,6 +142,7 @@ public class ItemSlot extends Button {
public void item( Item item ) {
if (this.item == item) {
if (item != null) icon.frame(item.image);
updateText();
return;
}