Skip to content

Commit

Permalink
Don't ignore subs for sea defense options.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 25, 2023
1 parent 603b889 commit 888be1b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ public ProPurchaseOptionMap(final GamePlayer player, final GameData data) {
ProLogger.debug("Air: " + ppo);
} else if (Matches.unitTypeIsSea().test(unitType)) {
final ProPurchaseOption ppo = new ProPurchaseOption(rule, unitType, player, data);
if (!ppo.isSub()) {
seaDefenseOptions.add(ppo);
}
seaDefenseOptions.add(ppo);
if (ppo.isTransport()) {
seaTransportOptions.add(ppo);
}
Expand Down

0 comments on commit 888be1b

Please sign in to comment.