mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Added Hellfish' newest bug fix.
This commit is contained in:
@@ -91,8 +91,13 @@ public class Input_Cleanup extends Input {
|
|||||||
int n = AllZone.Human_Hand.getCards().length;
|
int n = AllZone.Human_Hand.getCards().length;
|
||||||
|
|
||||||
//MUST showMessage() before stop() or it will overwrite the next Input's message
|
//MUST showMessage() before stop() or it will overwrite the next Input's message
|
||||||
AllZone.Display.showMessage("Cleanup Phase: You can only have a maximum of 7 cards, you currently have "
|
StringBuffer sb = new StringBuffer();
|
||||||
+ n + " cards in your hand - select a card to discard");
|
sb.append("Cleanup Phase: You can only have a maximum of ").append(MaxHandSize);
|
||||||
|
sb.append(" cards, you currently have ").append(n).append(" cards in your hand - select a card to discard");
|
||||||
|
AllZone.Display.showMessage(sb.toString());
|
||||||
|
|
||||||
|
// AllZone.Display.showMessage("Cleanup Phase: You can only have a maximum of 7 cards, you currently have "
|
||||||
|
// + n + " cards in your hand - select a card to discard");
|
||||||
|
|
||||||
//goes to the next phase
|
//goes to the next phase
|
||||||
// if(n <= 7) {
|
// if(n <= 7) {
|
||||||
|
|||||||
Reference in New Issue
Block a user