Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only add a repair item once to the list of possible repair items.
Some (different) materials use the same repair item (iron and steel each use scrap metal). Repairing an item made of several of those materials would show a menu to the user for choosing which item to use for repairing. That menu had several identical entries (one for repairing iron with scrap metal, and one for repairing steel with scrap metal). That selection is unnecessary as both choices consume the same item. This commit detects that case and prevents the second entry from appearing.
- Loading branch information