Skip to content

Commit

Permalink
use new getReputationModifier()
Browse files Browse the repository at this point in the history
  • Loading branch information
Algebro7 committed Oct 1, 2024
1 parent c457992 commit b3341a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/Campaign.java
Original file line number Diff line number Diff line change
Expand Up @@ -6859,7 +6859,7 @@ public int getReputationFactor() {
return switch (campaignOptions.getUnitRatingMethod()) {
case NONE -> 5;
case FLD_MAN_MERCS_REV -> getAtBUnitRatingMod() * 2;
case CAMPAIGN_OPS -> (int) ((getReputation().getReputationModifier() * 0.2) + 0.5);
case CAMPAIGN_OPS -> (int) (getReputation().getReputationModifier() * 0.2 + 0.5);
};
}

Expand Down

0 comments on commit b3341a5

Please sign in to comment.