Skip to content

Commit

Permalink
Add comment to MustFightBattle.removeNonCombatants().
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 14, 2023
1 parent da5435a commit 49eeb41
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,7 @@ private List<Unit> removeNonCombatants(
final boolean attacking,
final boolean removeForNextRound) {
int battleRound = (removeForNextRound ? round + 1 : round);
// Note: Also done in FiringGroupSplitterGeneral when determining step names. They must match.
return CollectionUtils.getMatches(
units,
Matches.unitCanParticipateInCombat(
Expand Down

0 comments on commit 49eeb41

Please sign in to comment.