forked from External/mage
* Fixed handling of face down card selection (e.g. for Scroll Rack).
This commit is contained in:
parent
ef1a487dd5
commit
662ee7ca10
6 changed files with 142 additions and 102 deletions
|
|
@ -825,7 +825,9 @@ public class GameController implements GameCallback {
|
|||
@Override
|
||||
public void execute(UUID playerId) {
|
||||
if (cards != null) {
|
||||
getGameSession(playerId).target(question, new CardsView(game, cards.getCards(game)), targets, required, options);
|
||||
Zone targetZone = (Zone) options.get("targetZone");
|
||||
boolean showFaceDown = targetZone != null && targetZone.equals(Zone.PICK);
|
||||
getGameSession(playerId).target(question, new CardsView(game, cards.getCards(game), showFaceDown), targets, required, options);
|
||||
} else if (perms != null) {
|
||||
CardsView permsView = new CardsView();
|
||||
for (Permanent perm : perms) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue