mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix bug that when AI cast divide damage as you choose spells, human can't change targetcorrectly
This commit is contained in:
@@ -1130,7 +1130,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
}
|
||||
final TargetChoices oldTarget = sa.getTargets();
|
||||
final TargetSelection select = new TargetSelection(this, sa);
|
||||
sa.resetTargets();
|
||||
sa.clearTargets();
|
||||
if (select.chooseTargets(oldTarget.size(), Lists.newArrayList(oldTarget.getDividedValues()), filter, optional)) {
|
||||
return sa.getTargets();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user