- Assign the result of the orderBlockers call.

This commit is contained in:
Agetian
2025-10-08 12:11:03 +03:00
committed by Chris H
parent 29fe1266d7
commit 590abbe8e6

View File

@@ -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) {