mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fix minor bug in ComputerPlayer mana handling
This commit is contained in:
parent
55a6acba22
commit
f68db93683
1 changed files with 1 additions and 1 deletions
|
@ -1536,7 +1536,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
if (!unpaid.getMana().includesMana(mana)) {
|
||||
continue ManaAbility;
|
||||
}
|
||||
colored += CardUtil.overflowInc(colored, mana.countColored());
|
||||
colored = CardUtil.overflowInc(colored, mana.countColored());
|
||||
}
|
||||
if (colored > 1 && (cost instanceof ColoredManaCost)) {
|
||||
for (Mana netMana : manaAbility.getNetMana(game)) {
|
||||
|
|
Loading…
Reference in a new issue