Skip to content

Commit

Permalink
Merge pull request #5676 from IllianiCBT/reputation_spaceStations
Browse files Browse the repository at this point in the history
Corrected Transportation Unit Type Check
  • Loading branch information
HammerGS authored Jan 7, 2025
2 parents 5a38816 + 74f2d95 commit 623704a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ private static Map<String, Integer> calculateTransportationCapacities(Campaign c
Entity entity = unit.getEntity();

// Skip the unit if it doesn't meet the specific criteria
if (!(entity.isDropShip()) && !(entity.isJumpShip())
&& !(entity.isWarShip()) && !(entity.isSmallCraft())) {
if (!entity.isSmallCraft() && !entity.isLargeCraft()) {
continue;
}

Expand Down

0 comments on commit 623704a

Please sign in to comment.