272050c7cf
- Allow fixing the profile even if it has no items in the inventory - Refactor weapon build fixing so we can re-use it for equipment builds, switch both to be a .filter() call - Add magazine build fixing, also as a .filter() call - For any fix that iterates over an array and splices, use Object.entries to create an in-place shallow copy of the array, so we don't skip entries - Reverse the order of the removeOrphanedQuests loop so we don't skip entries