v1.2.3: fixed exploit where ankhs could be used through lost inventory

This commit is contained in:
Evan Debenham 2022-04-13 12:29:03 -04:00
parent 4125c5985f
commit c667f279b1

View File

@ -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();