From 34486a082a2a359fbe8119ee646cf0375db55a9f Mon Sep 17 00:00:00 2001 From: Pavel Braginskiy Date: Mon, 28 Oct 2024 01:43:42 -0700 Subject: [PATCH] Remove item in head when switching to small cockpit --- megameklab/src/megameklab/ui/mek/BMStructureTab.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megameklab/src/megameklab/ui/mek/BMStructureTab.java b/megameklab/src/megameklab/ui/mek/BMStructureTab.java index da286c386..acdd1ef99 100644 --- a/megameklab/src/megameklab/ui/mek/BMStructureTab.java +++ b/megameklab/src/megameklab/ui/mek/BMStructureTab.java @@ -375,7 +375,7 @@ && getMek().getCritical(Mek.LOC_RT, i).getType() == CriticalSlot.TYPE_EQUIPMENT) */ private void clearCritsForCockpit(boolean small, boolean dual) { for (int slot = 0; slot < (small ? 4 : 6); slot++) { - if ((slot == 3) && !dual) { + if ((slot == 3) && !dual && !small) { continue; } clearCrit(Mek.LOC_HEAD, slot);