- Combat.getBandOfAttacker() should only return from lkiCache if the card found in the cache actually was attacking

This commit is contained in:
Sol
2014-09-04 03:10:01 +00:00
parent f82a844730
commit fb4ac61919

View File

@@ -172,7 +172,7 @@ public class Combat {
return ab;
}
CombatLki lki = lkiCache.get(c);
return lki == null ? null : lki.getFirstBand();
return lki == null || lki.isAttacker ? null : lki.getFirstBand();
}
public final List<AttackingBand> getAttackingBands() {