* Alternative costs - fixed that it can be activated on free cast (example: cascade with overload, #6925, #7410, #7741, #6342);

This commit is contained in:
Oleg Agafonov 2021-09-21 14:22:46 +04:00
parent 6aaf461362
commit 6bc5a00e8a
7 changed files with 151 additions and 44 deletions

View file

@ -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() {