mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fixed a bug that if a human player had to discard more cards than he had on hand, the game UI was blocked.
This commit is contained in:
parent
09dd373909
commit
cd0f273122
5 changed files with 33 additions and 13 deletions
|
|
@ -1146,6 +1146,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
|||
options.setMatchTimeLimit(MatchTimeLimit.NONE);
|
||||
options.setFreeMulligans(2);
|
||||
options.setSkillLevel(SkillLevel.CASUAL);
|
||||
options.setRollbackTurnsAllowed(true);
|
||||
table = session.createTable(roomId, options);
|
||||
|
||||
session.joinTable(roomId, table.getTableId(), "Human", "Human", 1, DeckImporterUtil.importDeck("test.dck"),"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue