mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
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
|
|
@ -19,7 +19,7 @@
|
|||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Game GUI: choose target card from the cards list (example: exile and choose card to cast)
|
||||
* Game GUI: choose target card from the cards list (example: exile and choose card to cast, choose triggers order, etc)
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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