mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
Merge fix
This commit is contained in:
parent
1cbbcddcc6
commit
8a06be7e28
3 changed files with 2 additions and 4 deletions
|
|
@ -55,8 +55,7 @@ public abstract class VoteHandler<T> {
|
|||
String stepName = (i > 0 ? "extra step" : "step");
|
||||
String voteInfo = String.format("Vote, %s %d of %d", stepName, stepCurrent, stepTotal);
|
||||
T vote;
|
||||
if (!decidingPlayer.isHuman() && !decidingPlayer.isTestMode() && this.aiVoteHint != null) {
|
||||
// TODO: add isComputer after PR
|
||||
if (decidingPlayer.isComputer() && this.aiVoteHint != null) {
|
||||
// ai choose
|
||||
vote = this.aiVoteHint.makeChoice(this, player, decidingPlayer, source, game);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue