* Fixed that face down exiled cards were revealed in player specific exile view window.

This commit is contained in:
LevelX2 2015-05-02 12:19:09 +02:00
parent 8686f4f777
commit 9e8157827a
2 changed files with 2 additions and 1 deletions

View file

@ -70,6 +70,7 @@ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.UUID;

View file

@ -99,7 +99,7 @@ public class PlayerView implements Serializable {
for (ExileZone exileZone : game.getExile().getExileZones()) {
for (Card card : exileZone.getCards(game)) {
if (player.getId().equals(card.getOwnerId())) {
exile.put(card.getId(), new CardView(card));
exile.put(card.getId(), new CardView(card, game, card.getId(), false)); // unnown if it's allowed to look under a face down card
}
}
}