mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final2.git
synced 2024-11-08 18:00:37 +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";
|
||||
}
|
||||
} else { // attempting to escape
|
||||
// remove item used to escape
|
||||
items.remove(items.size() - 1);
|
||||
// do not remove item used to escape
|
||||
if (roll >= minimumNeeded) {
|
||||
endGame();
|
||||
phase = Phase.WON;
|
||||
|
Loading…
Reference in New Issue
Block a user