mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-12 04:14:05 +00:00
Previously, if fed bad data, or a content list predated a BSA being moved to a non-user config file, or possibly in other situations (but not any of the obvious ones as those had other guards), the `selectedArchives` list could be longer than the number of archives available due to duplicate entries. This ensures they're handled like entries specifying no-longer-present archives, and just skips the duplicates. The same would happen elsewhere in similar situations, but those code paths aren't always taken.