diff --git a/ui/loadout_manager.py b/ui/loadout_manager.py index f43f87e..481b692 100644 --- a/ui/loadout_manager.py +++ b/ui/loadout_manager.py @@ -2044,19 +2044,10 @@ class LoadoutManagerDialog(QDialog): def _on_armor_changed(self): """Handle armor piece or plate change.""" # If individual pieces are changed, we're no longer using a pure full set + # Note: current_armor_set is a NexusArmorSet which has pieces as List[str] + # We can't easily check if pieces match, so just clear the set reference if self.current_armor_set: - # Check if all pieces match the set - all_match = True - for slot, piece in self.current_armor_set.pieces.items(): - widget = self.slot_widgets.get(slot) - if widget: - current = widget.get_piece() - if not current or current.item_id != piece.item_id: - all_match = False - break - - if not all_match: - self.current_armor_set = None + self.current_armor_set = None self._update_armor_summary() self._update_calculations()