v1.2.3: fixed exploit where ankhs could be used through lost inventory
This commit is contained in:
parent
4125c5985f
commit
c667f279b1
|
@ -585,7 +585,7 @@ public class GameScene extends PixelScene {
|
|||
ankh = i;
|
||||
}
|
||||
}
|
||||
if (ankh != null) {
|
||||
if (ankh != null && GamesInProgress.gameExists(GamesInProgress.curSlot)) {
|
||||
add(new WndResurrect(ankh));
|
||||
} else {
|
||||
gameOver();
|
||||
|
|
Loading…
Reference in New Issue
Block a user