log, but don't pop up warning about non-AI cards in quest decks. the popup hinders immersion and if they are there, it is likely intentional

This commit is contained in:
myk
2013-02-28 19:48:20 +00:00
parent 9c16f2ce14
commit 954311973c

View File

@@ -158,8 +158,13 @@ public class GameNew {
if (rAICards.size() > 0) {
String message = buildFourColumnList("AI deck contains the following cards that it can't play or may be buggy:", rAICards);
if (GameType.Quest == game.getType()) {
// log, but do not visually warn. quest decks are supposedly already vetted by the quest creator
System.err.println(message);
} else {
JOptionPane.showMessageDialog(null, message, "", JOptionPane.INFORMATION_MESSAGE);
}
}
if (!removedAnteCards.isEmpty()) {
StringBuilder ante = new StringBuilder("The following ante cards were removed:\n\n");