v0.4.1a: fixed quickslots not always updating properly
This commit is contained in:
parent
fbeb13a87c
commit
9e14340a90
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user