forked from External/mage
GUI: Autochoose targets if choice can be made (#9206)
This commit is contained in:
parent
1e01efd49d
commit
96f6fbefc8
29 changed files with 492 additions and 213 deletions
|
|
@ -1382,8 +1382,8 @@ public final class GamePanel extends javax.swing.JPanel {
|
|||
}
|
||||
|
||||
List<UUID> needChosen;
|
||||
if (lastGameData.options != null && lastGameData.options.containsKey("chosen")) {
|
||||
needChosen = (List<UUID>) lastGameData.options.get("chosen");
|
||||
if (lastGameData.options != null && lastGameData.options.containsKey("chosenTargets")) {
|
||||
needChosen = (List<UUID>) lastGameData.options.get("chosenTargets");
|
||||
} else {
|
||||
needChosen = new ArrayList<>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue