From bd8688182862c67d0362aea66f8a72118046901c Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 05:26:06 +0000 Subject: [PATCH] Added Hellfish' newest bug fix. --- src/forge/Input_Cleanup.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/forge/Input_Cleanup.java b/src/forge/Input_Cleanup.java index 343da0ee2c5..41e34b3aa7f 100644 --- a/src/forge/Input_Cleanup.java +++ b/src/forge/Input_Cleanup.java @@ -91,8 +91,13 @@ public class Input_Cleanup extends Input { int n = AllZone.Human_Hand.getCards().length; //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 " - + n + " cards in your hand - select a card to discard"); + StringBuffer sb = new StringBuffer(); + 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 // if(n <= 7) {