Skip to content

Commit

Permalink
Merge pull request #5774 from IllianiCBT/5760
Browse files Browse the repository at this point in the history
Fixed Combat Team Status Logic for Convoy and Support Forces
  • Loading branch information
HammerGS authored Jan 15, 2025
2 parents 778679b + e365218 commit 69988a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MekHQ/src/mekhq/campaign/force/CombatTeam.java
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,15 @@ size > getStandardForceSize(campaign.getFaction()) + 2) {
force.setCombatTeamStatus(false);
return false;
}

if (parentForce.isConvoyForce()) {
force.setCombatTeamStatus(false);
return false;
}

if (!parentForce.isCombatForce()) {
return false;
}
}

force.setCombatTeamStatus(true);
Expand Down

0 comments on commit 69988a1

Please sign in to comment.