AI: fixed wrong quick start button for MCTS game

This commit is contained in:
Oleg Agafonov 2024-06-10 21:51:55 +04:00
parent 88a451bb4f
commit c8b5c1fa35

View file

@ -1687,7 +1687,7 @@ public class TablesPanel extends javax.swing.JPanel {
DeckCardLists testDeck = DeckImporter.importDeckFromFile(testDeckFile, false);
PlayerType aiType = useMonteCarloAI ? PlayerType.COMPUTER_MONTE_CARLO : PlayerType.COMPUTER_MAD;
int numSeats = gameName.contains("2") ? 2 : 4;
int numSeats = gameName.contains("2") || gameName.contains("Monte Carlo") ? 2 : 4;
boolean multiPlayer = numSeats > 2;
MatchOptions options = new MatchOptions(gameName, gameType, multiPlayer, numSeats);