Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 5, 2024
1 parent 495ece8 commit 10dae00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private static Tuple<CasualtyList, List<Unit>> getDefaultCasualties(
for (final Unit unit : sorted) {
// Stop if we have already selected as many hits as there are targets
final int numSelectedCasualties = defaultCasualtySelection.size();
if (defaultCasualtySelection.size() >= hits) {
if (numSelectedCasualties >= hits) {
return Tuple.of(defaultCasualtySelection, sorted);
}
final UnitAttachment ua = unit.getUnitAttachment();
Expand Down

0 comments on commit 10dae00

Please sign in to comment.