mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed html visible title in choose cards dialog;
This commit is contained in:
parent
639c4fab13
commit
1dcdff58d2
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public class DiscardCardYouChooseTargetEffect extends OneShotEffect {
|
||||||
Cards revealedCards = new CardsImpl();
|
Cards revealedCards = new CardsImpl();
|
||||||
numberToReveal = Math.min(player.getHand().size(), numberToReveal);
|
numberToReveal = Math.min(player.getHand().size(), numberToReveal);
|
||||||
if (player.getHand().size() > numberToReveal) {
|
if (player.getHand().size() > numberToReveal) {
|
||||||
TargetCardInHand chosenCards = new TargetCardInHand(numberToReveal, numberToReveal, new FilterCard("card in " + player.getLogName() + "'s hand"));
|
TargetCardInHand chosenCards = new TargetCardInHand(numberToReveal, numberToReveal, new FilterCard("card in " + player.getName() + "'s hand"));
|
||||||
chosenCards.setNotTarget(true);
|
chosenCards.setNotTarget(true);
|
||||||
if (chosenCards.canChoose(player.getId(), game) && player.chooseTarget(Outcome.Discard, player.getHand(), chosenCards, source, game)) {
|
if (chosenCards.canChoose(player.getId(), game) && player.chooseTarget(Outcome.Discard, player.getHand(), chosenCards, source, game)) {
|
||||||
if (!chosenCards.getTargets().isEmpty()) {
|
if (!chosenCards.getTargets().isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue