Skip to content

Commit

Permalink
closes #1812
Browse files Browse the repository at this point in the history
  • Loading branch information
IllianiCBT committed Mar 18, 2024
1 parent fbbf4d8 commit 1f9b789
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ public void setObjectives(Campaign campaign, AtBContract contract) {
destroyHostiles.addForce(String.format("%s%s", contract.getEnemyBotName(), SECOND_ENEMY_FORCE_SUFFIX));
ScenarioObjective keepFriendliesAlive = CommonObjectiveFactory.getKeepFriendliesAlive(campaign, contract, this,
50, false);
ScenarioObjective keepAttachedUnitsAlive = CommonObjectiveFactory.getKeepAttachedGroundUnitsAlive(contract,
this);

ScenarioObjective preserveBaseUnits = null;
if (!isAttacker()) {
Expand Down Expand Up @@ -202,9 +200,6 @@ public void setObjectives(Campaign campaign, AtBContract contract) {
getScenarioObjectives().add(preserveBaseUnits);
}

if (keepAttachedUnitsAlive != null) {
getScenarioObjectives().add(keepAttachedUnitsAlive);
}
getScenarioObjectives().add(destroyHostiles);
getScenarioObjectives().add(keepFriendliesAlive);
}
Expand Down

0 comments on commit 1f9b789

Please sign in to comment.