v0.4.2: fixed key display not updating when opening a chest
This commit is contained in:
committed by
Evan Debenham
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){
|
} else if (heap.type == Type.LOCKED_CHEST || heap.type == Type.CRYSTAL_CHEST){
|
||||||
belongings.specialKeys[Dungeon.depth]--;
|
belongings.specialKeys[Dungeon.depth]--;
|
||||||
}
|
}
|
||||||
|
StatusPane.needsKeyUpdate = true;
|
||||||
heap.open( this );
|
heap.open( this );
|
||||||
}
|
}
|
||||||
curAction = null;
|
curAction = null;
|
||||||
@@ -1551,7 +1552,8 @@ public class Hero extends Char {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void next() {
|
public void next() {
|
||||||
super.next();
|
if (isAlive())
|
||||||
|
super.next();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static interface Doom {
|
public static interface Doom {
|
||||||
|
|||||||
Reference in New Issue
Block a user