mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- AI vs AI matches should never be played out from an update call if the user has chosen to simulate random outcomes for AI matches.
This commit is contained in:
@@ -272,15 +272,18 @@ public class QuestDraftUtils {
|
||||
|
||||
final DraftMatchup nextMatch = matchups.remove(0);
|
||||
|
||||
matchInProgress = true;
|
||||
|
||||
if (nextMatch.hasHumanPlayer()) {
|
||||
waitForUserInput = true;
|
||||
} else {
|
||||
if (FModel.getQuestPreferences().getPrefInt(QuestPreferences.QPref.SIMULATE_AI_VS_AI_RESULTS) == 1) {
|
||||
return;
|
||||
}
|
||||
gui.disableOverlay();
|
||||
waitForUserInput = false;
|
||||
}
|
||||
|
||||
matchInProgress = true;
|
||||
|
||||
GameRules rules = createQuestDraftRuleset();
|
||||
|
||||
final HostedMatch newMatch = GuiBase.getInterface().hostMatch();
|
||||
|
||||
Reference in New Issue
Block a user