Fixed minor bug causing mirror match in limited draft mode

This commit is contained in:
skiera
2012-01-31 20:32:36 +00:00
parent 25c6c3628b
commit 1220c6b0c7

View File

@@ -133,7 +133,7 @@ public class ControlDraft {
});
Constant.Runtime.HUMAN_DECK[0] = human;
Constant.Runtime.COMPUTER_DECK[0] = opponentDecks[aiIndex];
Constant.Runtime.COMPUTER_DECK[0] = opponentDecks[aiIndex+1]; //zero is human deck, so it must be +1
if (Constant.Runtime.COMPUTER_DECK[0] == null) {
throw new IllegalStateException("startButton() error - computer deck is null");