mirror of
https://github.com/correl/mage.git
synced 2025-03-31 17:00:10 -09:00
fixed an error
This commit is contained in:
parent
7e5f1d55c3
commit
34c31834c5
1 changed files with 2 additions and 0 deletions
|
@ -2261,6 +2261,8 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
break;
|
||||
}
|
||||
}
|
||||
} else if (opponents.size() == 1) {
|
||||
randomOpponentId = game.getOpponents(abilityControllerId).iterator().next();
|
||||
}
|
||||
return randomOpponentId;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue