Skip to content

Commit

Permalink
Merge pull request #3923 from IllianiCBT/Toughness_HideZero
Browse files Browse the repository at this point in the history
Hide Toughness When 0
  • Loading branch information
HammerGS authored Apr 6, 2024
2 parents 5590876 + 6ff928c commit d4040ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/gui/view/PersonViewPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ private JPanel fillSkills() {
firsty++;
}

if (campaign.getCampaignOptions().isUseToughness()) {
if ((campaign.getCampaignOptions().isUseToughness()) && (person.getToughness() > 0)) {
lblTough1.setName("lblTough1");
lblTough1.setText(resourceMap.getString("lblTough1.text"));
gridBagConstraints = new GridBagConstraints();
Expand Down

0 comments on commit d4040ba

Please sign in to comment.