- 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:
Agetian
2017-01-02 11:04:46 +00:00
parent 66c84da4f1
commit 31cb66a3d5

View File

@@ -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();