when starting a match, set the Card Picture panels to display the first card in human hand (rather than just being blank until you hover over a card)

This commit is contained in:
slapshot5
2011-12-29 04:40:47 +00:00
parent 81c47d89f2
commit e6ca314ddb

View File

@@ -1511,7 +1511,6 @@ public class GameAction {
this.computerStartsGame(); this.computerStartsGame();
} }
//Ante restricted to Quest Mode for now
if (Singletons.getModel().getPreferences().isPlayForAnte()) { if (Singletons.getModel().getPreferences().isPlayForAnte()) {
final String nl = System.getProperty("line.separator"); final String nl = System.getProperty("line.separator");
final StringBuilder msg = new StringBuilder(); final StringBuilder msg = new StringBuilder();
@@ -1540,6 +1539,8 @@ public class GameAction {
AllZone.getComputerPlayer().drawCard(); AllZone.getComputerPlayer().drawCard();
} }
AllZone.getDisplay().setCard(AllZone.getHumanPlayer().getCardsIn(Zone.Hand).get(0));
AllZone.getInputControl().setInput(new InputMulligan()); AllZone.getInputControl().setInput(new InputMulligan());
Phase.setGameBegins(1); Phase.setGameBegins(1);