fixing restart issue and hand crash

This commit is contained in:
Maxmtg
2012-10-20 16:10:17 +00:00
parent 451642d830
commit 2bee6e1ec9
2 changed files with 2 additions and 3 deletions

View File

@@ -182,6 +182,7 @@ public class MatchController {
*/ */
public void replayRound() { public void replayRound() {
gamesPlayed.remove(gamesPlayed.size() - 1); gamesPlayed.remove(gamesPlayed.size() - 1);
startRound();
} }
/** /**

View File

@@ -40,8 +40,6 @@ public class VHand implements IVDoc<CHand> {
private final EDocID docID; private final EDocID docID;
private final DragTab tab = new DragTab("Your Hand"); private final DragTab tab = new DragTab("Your Hand");
// Other fields
private Player player = null;
// Top-level containers // Top-level containers
private final JScrollPane scroller = new JScrollPane(); private final JScrollPane scroller = new JScrollPane();
@@ -72,7 +70,7 @@ public class VHand implements IVDoc<CHand> {
hand.setOpaque(false); hand.setOpaque(false);
control = new CHand(player, this); control = new CHand(player0, this);
} }
//========= Overridden methods //========= Overridden methods