mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final2.git
synced 2024-11-09 10:20:38 +00:00
Do not remove item used to escape
This commit is contained in:
parent
1388d78244
commit
a738c23f5e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user