forked from External/mage
Choose triggers order dialog - fixed that it can't remember ability name with card name in it
This commit is contained in:
parent
921015e6f1
commit
103f75975c
3 changed files with 37 additions and 1 deletions
|
|
@ -2810,6 +2810,7 @@ public final class GamePanel extends javax.swing.JPanel {
|
|||
if (!cardViewPopupMenu.getAbility().getRules().isEmpty()
|
||||
&& !cardViewPopupMenu.getAbility().getRules().get(0).isEmpty()) {
|
||||
abilityRuleText = cardViewPopupMenu.getAbility().getRules().get(0);
|
||||
abilityRuleText = abilityRuleText.replace("{this}", cardViewPopupMenu.getName());
|
||||
}
|
||||
}
|
||||
switch (e.getActionCommand()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue