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