Fixed concede game option not working in popup menu

This commit is contained in:
magenoxx 2012-08-03 13:27:10 +04:00
parent 12d597f17e
commit 931381606d

View file

@ -97,9 +97,9 @@ public class PlayAreaPanel extends javax.swing.JPanel {
public final void init(PlayerView player, BigCard bigCard, UUID gameId) { public final void init(PlayerView player, BigCard bigCard, UUID gameId) {
this.playerPanel.init(gameId, player.getPlayerId(), bigCard); this.playerPanel.init(gameId, player.getPlayerId(), bigCard);
this.battlefieldPanel.init(gameId, bigCard); this.battlefieldPanel.init(gameId, bigCard);
this.gameId = gameId;
if (MageFrame.getSession().isTestMode()) { if (MageFrame.getSession().isTestMode()) {
this.playerId = player.getPlayerId(); this.playerId = player.getPlayerId();
this.gameId = gameId;
this.btnCheat.setVisible(true); this.btnCheat.setVisible(true);
} }
else { else {