forked from External/mage
* Alternative costs - fixed that it can be activated on free cast (example: cascade with overload, #6925, #7410, #7741, #6342);
This commit is contained in:
parent
6aaf461362
commit
6bc5a00e8a
7 changed files with 151 additions and 44 deletions
|
|
@ -289,19 +289,12 @@ public final class GamePanel extends javax.swing.JPanel {
|
|||
|
||||
private void hidePickDialogs() {
|
||||
// temporary hide opened dialog on redraw/update
|
||||
|
||||
//try {
|
||||
// pick target
|
||||
for (ShowCardsDialog dialog : this.pickTarget) {
|
||||
dialog.setVisible(false);
|
||||
}
|
||||
// pick pile
|
||||
for (PickPileDialog dialog : this.pickPile) {
|
||||
dialog.setVisible(false);
|
||||
}
|
||||
//} catch (PropertyVetoException e) {
|
||||
// logger.error("Couldn't close pick dialog", e);
|
||||
//}
|
||||
for (ShowCardsDialog dialog : this.pickTarget) {
|
||||
dialog.setVisible(false);
|
||||
}
|
||||
for (PickPileDialog dialog : this.pickPile) {
|
||||
dialog.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void clearPickDialogs() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue