Skip to content

Commit

Permalink
feat: inverted function call
Browse files Browse the repository at this point in the history
  • Loading branch information
Scoppio committed Dec 14, 2024
1 parent 97444ab commit ab12674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megameklab/src/megameklab/ui/generalUnit/QuirksTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void refreshQuirks() {
IOptionGroup group = i.nextElement();
for (Enumeration<IOption> j = group.getSortedOptions(); j.hasMoreElements(); ) {
IOption option = j.nextElement();
if (!WeaponQuirks.isQuirkLegalFor(option, getEntity(), m.getType())) {
if (WeaponQuirks.isQuirkIDisallowedFor(option, getEntity(), m.getType())) {
continue;
}
addWeaponQuirk(key, option);
Expand Down

0 comments on commit ab12674

Please sign in to comment.