mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Added optional server config parameter to limit the number of AI players when creating tournaments.
This commit is contained in:
parent
f04df1b193
commit
360a62917b
6 changed files with 55 additions and 14 deletions
|
|
@ -394,7 +394,7 @@ public class NewTournamentDialog extends MageDialog {
|
|||
|
||||
table = session.createTournamentTable(roomId, tOptions);
|
||||
if (table == null) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Error creating table.", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
// message must be send by server!
|
||||
return;
|
||||
}
|
||||
if (session.joinTournamentTable(roomId, table.getTableId(), this.txtPlayer1Name.getText(), "Human", 1)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue