Skip to content

Commit

Permalink
fix: addresses off by one issue with dialog filter for skills, addres…
Browse files Browse the repository at this point in the history
…ses issue: #5922
  • Loading branch information
firefly2442 committed Feb 1, 2025
1 parent d9d5adc commit 5b2aa94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/gui/dialog/BatchXPDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public boolean include(Entry<? extends PersonnelTableModel, ? extends Integer> e
return false;
} else if ((null != primaryRole) && (p.getPrimaryRole() != primaryRole)) {
return false;
} else if ((null != expLevel) && (p.getExperienceLevel(campaign, false) != expLevel)) {
} else if ((null != expLevel) && (p.getExperienceLevel(campaign, false)+1 != expLevel)) {
return false;
} else if (onlyOfficers && !p.getRank().isOfficer()) {
return false;
Expand Down

0 comments on commit 5b2aa94

Please sign in to comment.