From ab12674b38beafa294971466d433a5c3181df736 Mon Sep 17 00:00:00 2001 From: Scoppio Date: Sat, 14 Dec 2024 00:28:23 -0300 Subject: [PATCH] feat: inverted function call --- megameklab/src/megameklab/ui/generalUnit/QuirksTab.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megameklab/src/megameklab/ui/generalUnit/QuirksTab.java b/megameklab/src/megameklab/ui/generalUnit/QuirksTab.java index 4422a9b83..e3c1cc287 100644 --- a/megameklab/src/megameklab/ui/generalUnit/QuirksTab.java +++ b/megameklab/src/megameklab/ui/generalUnit/QuirksTab.java @@ -93,7 +93,7 @@ public void refreshQuirks() { IOptionGroup group = i.nextElement(); for (Enumeration 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);