1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-01 09:05:59 -09:00

Merge fix

This commit is contained in:
Oleg Agafonov 2023-06-09 07:00:03 +04:00
parent 3b0de691c8
commit 49ce794c45

View file

@ -686,7 +686,7 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
attackerList.remove(attackerId);
}
}
if (newAttackerOrder.size() == attackerOrder.size()) {
if (attackerOrder.isEmpty() || newAttackerOrder.size() == attackerOrder.size()) {
attackerOrder.clear();
attackerOrder.addAll(newAttackerOrder);