Do not remove item used to escape

This commit is contained in:
Arne Keller 2020-03-12 18:07:23 +01:00
parent 1388d78244
commit a738c23f5e

View File

@ -90,8 +90,7 @@ public class CardGame {
return "lose"; return "lose";
} }
} else { // attempting to escape } else { // attempting to escape
// remove item used to escape // do not remove item used to escape
items.remove(items.size() - 1);
if (roll >= minimumNeeded) { if (roll >= minimumNeeded) {
endGame(); endGame();
phase = Phase.WON; phase = Phase.WON;