mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
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:
@@ -140,7 +140,7 @@ public class GameNew {
|
||||
player.shuffle();
|
||||
}
|
||||
|
||||
if( player instanceof AIPlayer ) {
|
||||
if(player instanceof AIPlayer) {
|
||||
rAICards.addAll(getCardsAiCantPlayWell(myDeck));
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user