mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed concede game option not working in popup menu
This commit is contained in:
parent
12d597f17e
commit
931381606d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue