mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
- Assign the result of the orderBlockers call.
This commit is contained in:
@@ -2048,9 +2048,9 @@ public class ComputerUtilCombat {
|
||||
|
||||
// Order the combatants in preferred order in case legacy ordering is disabled
|
||||
final boolean legacyOrderCombatants = self.getGame().getRules().hasOrderCombatants();
|
||||
final CardCollection orderedBlockers = new CardCollection(block);
|
||||
CardCollection orderedBlockers = new CardCollection(block);
|
||||
if (!legacyOrderCombatants) {
|
||||
AiBlockController.orderBlockers(attacker, orderedBlockers); // assume sorted in case the legacy option is enabled
|
||||
orderedBlockers = AiBlockController.orderBlockers(attacker, orderedBlockers); // assume sorted in case the legacy option is enabled
|
||||
}
|
||||
|
||||
if (orderedBlockers.size() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user