v0.4.2: fixed key display not updating when opening a chest
This commit is contained in:
parent
5d9035e9d9
commit
824c8f789c
|
@ -1424,6 +1424,7 @@ public class Hero extends Char {
|
|||
} else if (heap.type == Type.LOCKED_CHEST || heap.type == Type.CRYSTAL_CHEST){
|
||||
belongings.specialKeys[Dungeon.depth]--;
|
||||
}
|
||||
StatusPane.needsKeyUpdate = true;
|
||||
heap.open( this );
|
||||
}
|
||||
curAction = null;
|
||||
|
@ -1551,6 +1552,7 @@ public class Hero extends Char {
|
|||
|
||||
@Override
|
||||
public void next() {
|
||||
if (isAlive())
|
||||
super.next();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user