Skip to content

Commit

Permalink
Fix HTML entities and update parameter name
Browse files Browse the repository at this point in the history
Replaced '&' with '&' to properly encode HTML entities in comments. Additionally, renamed the 'c' parameter to 'campaign' for clarity and consistency.
  • Loading branch information
IllianiCBT committed Nov 25, 2024
1 parent 5cf9b56 commit c084b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MekHQ/src/mekhq/campaign/force/StrategicFormation.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import static mekhq.campaign.force.Force.STRATEGIC_FORMATION_OVERRIDE_TRUE;

/**
* Used by Against the Bot & StratCon to track additional information about each force
* Used by Against the Bot & StratCon to track additional information about each force
* on the TO&E that has at least one unit assigned. Extra info includes whether
* the force counts as a Strategic Formation eligible for assignment to a scenario role
* and what the assignment is on which contract.
Expand Down Expand Up @@ -576,7 +576,7 @@ public static StrategicFormation generateInstanceFromXML(Node wn) {
/**
* Worker function that calculates the total weight of a force with the given ID
*
* @param c Campaign in which the force resides
* @param campaign Campaign in which the force resides
* @param forceId Force for which to calculate weight
* @return Total force weight
*/
Expand Down

0 comments on commit c084b10

Please sign in to comment.