mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
spjspj - Fix cube from deck from being broken with layouts
This commit is contained in:
parent
56e1a96d76
commit
72b0192bae
2 changed files with 7 additions and 1 deletions
|
|
@ -585,7 +585,8 @@ public class NewTournamentDialog extends MageDialog {
|
|||
} catch (GameException e1) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), e1.getMessage(), "Error loading deck", JOptionPane.ERROR_MESSAGE);
|
||||
}
|
||||
if (cubeFromDeck != null) {
|
||||
if (cubeFromDeck != null) {
|
||||
cubeFromDeck.clearLayouts();
|
||||
tOptions.getLimitedOptions().setCubeFromDeck(cubeFromDeck);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue